> For the complete documentation index, see [llms.txt](https://docs.gridmate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gridmate.io/advanced-guides/filters-and-data/grid-enhanced-filter-builder.md).

# Grid - Enhanced Filter Builder

Build complex grid filters that combine AND and OR conditions, for admins and end users.

As a Salesforce admin, you have the ability to use the **Enhanced Filter Builder** to create complex filters that meet your specific criteria. Unlike standard filters, the **Enhanced Filter Builder** provides more advanced filtering options, allowing you to combine **AND**, **OR** conditions to create custom filters. This powerful feature can help you filter your data more effectively and make more informed decisions based on your specific needs.

{% hint style="info" %}
When Enhanced Filter is enabled, the builder is activated for Admin in the configuration wizard (Filters, Coloring) and for end users to create their own filters.
{% endhint %}

## Enable Enhanced Filter Builder

To enable the **Enhanced Filter Builder**, start by navigating to Setup. Then, search for Custom Settings and click on Manage next to the DataGrid setting. Check the box for the Enhanced Filter Builder and click Save to activate it. Once you've completed these steps, you'll be able to use the Enhanced Filter Builder to create your filters.

<figure><img src="https://4046919449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEsSbGy_U_OhthKUpxu%2Fuploads%2FOovGu3zJd9tmuiBLQSfU%2FScreenshot%202023-03-21%20at%2016.03.18.png?alt=media&amp;token=8899c857-ea8a-4310-98f4-72cf9e40e0c6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4046919449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEsSbGy_U_OhthKUpxu%2Fuploads%2FMXmmkBv0P7EgoVJIdUJM%2FScreenshot%202023-03-21%20at%2016.02.53.png?alt=media&amp;token=59e19c7b-fe99-45e8-895c-7de6b0d7b55b" alt=""><figcaption></figcaption></figure>

## Next steps

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Grid - Advanced Filtering</strong></td><td>Filter with junctions, inline SOQL, merge fields and Apex value providers.</td><td><a href="/advanced-guides/filters-and-data/grid-advanced-filtering.md">Grid - Advanced Filtering</a></td></tr><tr><td><strong>Grid - Interactive Filters</strong></td><td>Filter grid columns by value, condition or color.</td><td><a href="/advanced-guides/filters-and-data/grid-interactive-filters.md">Grid - Interactive Filters</a></td></tr><tr><td><strong>DataGrid Settings</strong></td><td>Set org-wide grid behavior for export, import, filters and User Grids.</td><td><a href="/package-reference/grids-settings.md">DataGrid Settings</a></td></tr></tbody></table>

## Enhanced Filter Builder Setup

Once the Enhanced Filter Builder is enabled, you can start creating more complex filters. The video below is a step-by-step tutorial to learn how to use the Enhanced Filter Builder👇

{% embed url="<https://youtu.be/VNXF5yFnu1g>" %}
Grid - Enhanced Filter Builder
{% endembed %}


---

# 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.gridmate.io/advanced-guides/filters-and-data/grid-enhanced-filter-builder.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.
