# 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: 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.qore.dev/table/modify-table/filter.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.
