Is it possible to put in a condition to not display a text field in the page header section if the results is in the detail section?
I have tried different conditions but it only seems to work when I put the condition in the details section, but this results in the text field being added per line.

So when I run the report and there are no lines to display currently the heading still displays:

here is an example of when there are lines to display:
