> For the complete documentation index, see [llms.txt](https://docs.datasuite.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasuite.vn/english/features/data-modeling/measures/filter-measures.md).

# Filter Measures

A **Filter Measure** is a measure that changes dynamically based on selected filter conditions (e.g., time, region, segment) at the report level. Steps to Create a Filter Measure:

{% stepper %}
{% step %}

#### Create a Measure Filter

1. Select a workspace, navigate to **Data Model**, choose the model you want to configure, and open the **Measure Filters** tab.<br>

   <figure><img src="/files/N1SrTChJTxx2IfxTBZ9Y" alt=""><figcaption></figcaption></figure>
2. Click **Create Measure Filter** and configure it as needed.<br>

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

{% endstep %}

{% step %}

#### Create a Basic Measure (If Needed)

[Create a **Basic Measure**](/english/features/data-modeling/measures/basic-measures.md#create-a-measure) if it doesn’t already exist.
{% endstep %}

{% step %}

#### Link the Measure Filter to a Basic Measure

Link the **Measure Filter** to the **Basic Measure** to convert it into a **Filter Measure**.
{% endstep %}

{% step %}

#### Verify the Filter Measure

Verify the created measure: Go to the **Explorer** tab, select test parameters, and click **Query** to preview the results.
{% endstep %}
{% endstepper %}


---

# 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.datasuite.vn/english/features/data-modeling/measures/filter-measures.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.
