> For the complete documentation index, see [llms.txt](https://docs.qore.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qore.dev/table/modify-table/filter.md).

# Filter

The Qore FILTER function **filters a range of data based on supplied criteria, and extracts matching records**. In plain language, the FILTER function will extract matching records from a set of data by applying one or more attribute.

### There are two types of logic in Qore FILTER:

1. **Any**\
   The data only displayed at least one of the filter attribute. That means, if you set filter for more than one attribute, your data will displayed at least one that contains one of the attribute.
2. **All**\
   The data displayed all the data that meets all the filter attribute. That means, if you set filter for more that one attribute, your data will filtered based on all the attributes.

![](/files/ivc6On3zpoa3cQvI8i3v)

### How to use Filter feature:

1. Open table you want to filter
2. Click on "Filter" button
3. Click "Add Filter"\
   ![](/files/0NGwj7fvzl45To4aTYKJ)
4. Input attribute you want to use to filter your data\
   ![](/files/NpvQiVkZJTC6I38SWBHL)
5. You can use group filter for grouping your filter logic

{% hint style="info" %}
**Filter group** helps you with multiple filter logic on multiple attribute. There are 2 logic you can use on filter group, **AND** and **OR**
{% endhint %}

### Delete Filter

To delete your filter, you can just simply click on the trashcan icon.

![](/files/uLYWFLEA5faIQdh9TziM)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.qore.dev/table/modify-table/filter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
