> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/reporting/exclude-empty-items-from-a-report.md).

# Exclude empty items from a report

No report data to display? Learn how to automatically exclude empty items from your reports for clearer, more relevant results. Step-by-step guidance included.

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="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2F7Oz3JQ0QBxeHTRZS4awv%2Fvisible_.png?alt=media&amp;token=85ef1a8a-548b-4b80-bfda-66e2ac741872" alt=""><figcaption><p>Navigation to the 'Visible' settings</p></figcaption></figure>

To create a new expression please select the ![](https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FV8ful8ar98Cj2Q444cU0%2Fimage.png?alt=media\&token=19211d32-8b16-4f07-bd3c-7cd86dcb498a) icon and then 'Visible Expression' -> 'Before Print',

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FhmnzxIvtQcQKsYJ1d8XG%2Fimage.png?alt=media&amp;token=390d06d3-66f4-4a5b-a178-5ad7b81f5f71" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
