> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/creating-reports/inserting-a-condition-for-filtering.md).

# Inserting a condition for filtering

**Note:** Evacuation Report filters exist permanently inside the collapsible ‘Filters’ section, and cannot be added or deleted, but can be edited. For this reason the **Insert Filter** button is not available for Evacuation Reports.

1. Click the **Insert Filter** button.
2. From the context menu, select the required filter condition.

   **Notes:**

   * All the filter conditions available relate to distinct types of information about a Cardholder.
   * Each filter condition can only be added once to a report, with the exception of unique Personal Data Fields and Competencies.

     When you create an Activity Report, by default it has the "Event Occurrence Time" filter added, therefore you will not be able to add this filter condition again.

   The Edit Condition pop-up displays.

   ![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-9b59840a9958d1d875060eae775ef57186cc71b6%2Freport_editconditionpopup.png?alt=media)

   **Note:** The options available on this pop-up depend on the Condition Type you selected.
3. Select the appropriate options for the condition you require.
4. The **Allow change when report is run** checkbox, if available for the selected filter Condition, allows a filter value to be overridden (changed) at runtime.

   Check this checkbox if required.
5. Click the **OK** button.

   The condition is added to the 'Filters' section of the Configuration Panel.

   ![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-d08d005638690a73d9e4e43750a365cb8fa9bf76%2Faddedcondition_report.png?alt=media)
6. Repeat Steps 1 - 5 for each additional filter condition you want applied to this report.

   Each additional filter condition is also added to the 'Filters' section.

   ![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-a857ddcf8935d4b99689179c6224996534feb5f9%2Faddedcondition_report2.png?alt=media)

   **Note:** Each time a filter condition is added, a **Refresh** button appears over the Report Preview, which can be clicked to update the preview.


---

# 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://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/creating-reports/inserting-a-condition-for-filtering.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.
