> For the complete documentation index, see [llms.txt](https://docs.powerviz.ai/powerviz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerviz.ai/powerviz/filter/advanced-settings-introduction/default-selection.md).

# Default Selection

The default selection is an advanced feature that helps you keep certain values automatically selected when the filter is first opened or the page is refreshed. There are two ways you can apply the default selection option:

1. **Fixed**
2. **Based on Field**

## **Fixed option:**

<figure><img src="/files/XBB3tHdKlEQSRe6pZ2h2" alt="" width="314"><figcaption></figcaption></figure>

To create a default selection using the Fixed option, follow these steps:

1. Open advanced settings from the "⚙️" button.
2. Go to the Default Selection section.
3. Select **Fixed**, choose the level, and provide the value for selection.

## **Based on Field option:**

<figure><img src="/files/y56pUwmJ56xkiTL5p5J7" alt="" width="360"><figcaption></figcaption></figure>

To create a default selection based on a field, follow these steps:

1. Create a column or measure in your data.
2. Use a 0/1 condition, where 1 represents true and 0 represents false.
3. Add the measure to the Default Selection Field.
4. Now go to the advanced settings "⚙️" > Default Selection > Based on Field > Select the measure created > Hit Apply.

```dax
Default Selection = 
SWITCH(
'Electronic List'[Selected measure], 
    "MacBook Air", 1, // 1 for values to be selected
    "ASUS ZenBook", 1, 
    "HP Spectre x360", 1,
0                    // 0 for values which should not be selected
)

```
