# Exclude empty items from a report

In aqua reports, you have the flexibility to iterate through various elements. There might be scenarios where all requirements need to be iterated, resulting in a report header and a list of all requirements. However, there could be exceptional cases where no requirements should be displayed in the reports. In such instances, you may want to hide these elements. Below, you will find instructions on how to address this issue by setting elements to be invisible.&#x20;

Begin by selecting the band you wish to conceal if there are no printable items. Then, choose 'Properties' and navigate to the 'Behavior' settings

<figure><img src="/files/NqeLVoVDaD8eexUAizWD" alt=""><figcaption><p>Navigation to the 'Visible' settings</p></figcaption></figure>

To create a new expression please select the ![](/files/wGEcHow9pebpOvkrbgKi) icon and then 'Visible Expression' -> 'Before Print',

<figure><img src="/files/jsRboPbHRafD85CB652Y" alt=""><figcaption></figcaption></figure>

You can now define a name and a condition. For example, you can navigate to the 'Variables' section and select the 'Data.Source.RowCount' variable, which returns the total number of rows in a data source. If the count is 0, then the band will not be printed on the report. &#x20;

<figure><img src="http://aquawiki.andagon.com/pictures/drex_remove_empty_items_custom_3.png" alt=""><figcaption><p>Example of condition that excludes blank items from printing</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aqua-cloud.io/documentation/reporting/exclude-empty-items-from-a-report.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
