# Filter Values

## Filter Values in Decision Table

Filtering values in a decision table allows you to narrow down rows based on the values in a particular column. This is especially useful when working with large datasets.

{% hint style="success" %}
Filtering is **case-insensitive** and supports **partial matches**. For example, if you filter by "2", it will match values like "120", "240", and "2+4".
{% endhint %}

## How to Apply Filters

<figure><img src="/files/c653r1DTlOZrgO9VgGyH" alt="" width="328"><figcaption></figcaption></figure>

1. **Access Filters**: Click the arrow icon in the header of the column you want to filter, then select **Filter Values**.
2. **Set Filter Expressions**:\
   A filter input field will appear where you can add one or more filter expressions. Simply type your expression and press **Enter** to apply it.
   * To remove a filter, click the cross icon next to the expression.
3. **Confirm Filters**:\
   Once your filters are set, confirm them by either clicking outside the filter modal or pressing the **Esc** key.

<figure><img src="/files/ZH1gLcsTd9J7vCGXDWyd" alt=""><figcaption></figcaption></figure>

## Managing Filters

* You can apply filters to multiple columns simultaneously.
* When a column has an active filter, a filter icon will appear in the column header. Clicking this icon will reopen the filter input.
* To clear all filters, click the cross icon at the end of the filter input field.

<figure><img src="/files/zuNAuSOt1NZ8bBin0T5H" alt=""><figcaption></figcaption></figure>


---

# 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.decisionrules.io/doc/v1/decision-tables/table-operations/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.
