# 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="/files/aRNEzdHgLerJRXMR06Nd" 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: 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.inforiver.com/super-filter/features/10.-display-settings/ii.default-selection-via-boolean-measure.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.
