> For the complete documentation index, see [llms.txt](https://docs.reportandrun.com/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reportandrun.com/manual/report-and-run/report-generation/generate-documents/filter-by-conditions.md).

# Filter by conditions

You can share a view of your report filtered by conditions, including what words appear in the report item title or description and when the item was created.

1. Tap on a report to open it.
2. [Set a report filter](https://docs.reportandrun.com/manual/report-and-run-integrate/filter-reports/filter-report-items.md) based on the [conditions](https://docs.reportandrun.com/manual/report-and-run-integrate/filter-reports/conditions.md) you want to display in the published report.&#x20;
3. In the example below, the *Created* condition was selected.&#x20;

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FcTD8aSmtXQs2UzP1PBwM%2Foffline-filter-condition1.png?alt=media&amp;token=10beb588-941d-43ea-8b6e-f3d1380ee545" alt="" width="375"><figcaption></figcaption></figure></div>
4. You can adjust the condition by tapping the settings menu. In the example below, we only wanted to show items that were created this week. So we tapped the default setting, *All,* and chose *Week* from the menu.&#x20;

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FFWrBFSEmQ7XCIxoVLBR6%2Foffline-filter-condition2.png?alt=media&amp;token=637f4411-33f5-4e5b-ac15-d20802ee1e4e" alt="" width="375"><figcaption></figcaption></figure></div>
5. Click the back arrow in the top-left corner to see your report with the filter on.&#x20;

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FnhbzdQev9FoeyWVhCYiD%2Foffline-filter-condition3.png?alt=media&amp;token=c9289f7e-e06c-4bdb-8e5b-dec5658a688a" alt="" width="375"><figcaption></figcaption></figure></div>

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2Fq9bsJ7CQHhvjD6kGz0Pd%2Foffline-filter-condition3.5.png?alt=media&amp;token=316c51b8-d4b1-4369-9b71-7a064eeb07f3" alt="" width="375"><figcaption><p>Report filter set to show items created this week</p></figcaption></figure></div>
6. Click **Share** at the bottom-right corner of the report.&#x20;

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FAf1S1cZPiaJ89tPzOq0X%2Foffline-filter-condition4.png?alt=media&amp;token=19c4c61e-1d1b-47f4-a350-26dcdcce11ad" alt="" width="375"><figcaption></figcaption></figure></div>
7. The conditions you specified will show in the middle of the screen, next to the blue filter icon. Only items matching these conditions will be included in the published report.

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FgaShgLVaE8QHcqcicrfL%2Foffline-filter-condition5.png?alt=media&amp;token=819b3d5e-3efe-4c76-b6d8-d7dcf7d27e4a" alt="" width="375"><figcaption></figcaption></figure></div>
8. Click **Add (+)** at the bottom-right corner of the next screen to generate your filtered report.

   <div align="left"><figure><img src="https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FFuIk4EHcLbbHbBNEJqOm%2Foffline-filter-condition6.png?alt=media&amp;token=d540b7a6-03be-4025-95da-82da6f53a40e" alt="" width="375"><figcaption></figcaption></figure></div>


---

# 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.reportandrun.com/manual/report-and-run/report-generation/generate-documents/filter-by-conditions.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.
