# Filters

{% embed url="<https://youtu.be/kw9Hsm2WRgk?si=STekdDMG-ucshYTv&t=36>" %}

Filters are conditions added to your data layers to only show a subset of features in the map, in the [Table View](/layers/table-view.md) or as the input for [Transform](/layers/spatial-analysis.md).

## Adding filters to a layer

Filters work on all data types, including text, numbers, booleans and dates. Filters can be added to a layer in two ways:

* Directly from the Table View by clicking on a column, then on **`Add filter...`**
* In the **`Filter`** tab of the style editor, by clicking on the **`Add filter`** button.

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

## Creating new filtered layers

It can be useful to create new derived layers that contain just the filtered data from the original. This can be achieved by clicking on the **`# features`** text in pink, then selecting the **`Update in new layer`** option from the dropdown menu.

<div align="left"><figure><img src="/files/tOLw8RImmI6ZEyAjz59u" alt="" width="327"><figcaption></figcaption></figure></div>

## Filters & Transformations

[Transformations](/layers/spatial-analysis.md) from the Spatial Analysis toolkit can use filtered layers as input, which is very convenient for quick data wrangling & exploration.


---

# 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://help.felt.com/layers/filters.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.
