> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/super-filter/features/10.-display-settings/ii.default-selection-via-boolean-measure.md).

# ii.Default Selection via Boolean Measure

The **Default Selection via Boolean Measure** allows users to configure default selections in the visual using a Boolean or integer measure. This is particularly useful for tailoring reports to specific roles or regions. For example, when a regional manager opens the report, it automatically filters the data to display only the areas relevant to them.

## Steps to configure Default Selection using Boolean Measure

{% stepper %}
{% step %}
Add a **Boolean** or **Integer Measure** with specific conditions to the **Others Field** in the visual.
{% endstep %}

{% step %}
**Enable Default Selection:**

* Go to the **Display Settings** in the Format Pane.
* Locate the **Default Selection** option.
* Select the previously added measure to configure default selections.
  {% endstep %}

{% step %}
Once selected, the visual will dynamically apply the default filter based on the conditions defined in the measure. This ensures that relevant selections are made automatically when the report is accessed.
{% endstep %}

{% step %}
n read mode, using the **Default Selection** measure allows the visual to revert to the predefined default selection when **Reset Filters** is clicked, restoring the original state ensuring a consistent starting point.&#x20;

<figure><img src="https://2237530339-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPIvQSuyE40UC9wv5uGgW%2Fuploads%2FlbPCrORMMLuMbW5hE6mT%2FScreenshot%202025-01-24%20173341.png?alt=media&amp;token=04bcf6f9-19ce-48ce-8813-15e9095c42ee" alt=""><figcaption><p>Image 1: Default Selection in format pane</p></figcaption></figure>
{% endstep %}
{% endstepper %}

## Example:&#x20;

In this example, the user wants to automatically select **Bikes** and **Accessories** for the **Europe** sales territory, and **Clothing** for **North America**. To achieve this, a DAX measure is created as follows:

```
Default Selection = 
SWITCH(
    TRUE(), 
    AND(VALUES(SalesTerritory[Group]) = "Europe", 
        OR(VALUES('Product'[Category]) = "Bikes", 
           VALUES('Product'[Category]) = "Accessories")
    ), 1,
    AND(VALUES(SalesTerritory[Group]) = "North America", 
        VALUES('Product'[Category]) = "Clothing"
    ), 1,
    0
)
```

If the **SalesTerritory\[Group]** is "Europe" and **Product\[Category]** is "Bikes" or "Accessories," or if the group is "North America" with **Product\[Category]** as "Clothing," it returns **1** to select them. All other items remain unselected (**0**).&#x20;

Once configured in the **Default Selection** under **Display Settings**, the visual highlights the specified items automatically.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPIvQSuyE40UC9wv5uGgW%2Fuploads%2FVX1lcFRjuj8VLeKv2MMj%2FScreen%20Recording%202025-01-24%20180456.mp4?alt=media&token=ef6883f1-47fe-4b00-b56c-64f3c55a3bfb>" fullWidth="false" %}
Video 1: Default selection configuration and read view behavior
{% 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.inforiver.com/super-filter/features/10.-display-settings/ii.default-selection-via-boolean-measure.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.
