# Select

You can use the single and multi select variable to choose one or multiple options simultaneously from a set of choices.

## 1. Multi select

### 1. Multi select configuration <a href="#id-1.-configuration" id="id-1.-configuration"></a>

This section outlines configurations specific to multi-select variables.

**1.1. Options:** Specify the options that will be displayed in the variables panel.

**1.2. Assign values:** Enable this toggle to assign values to each option. The value associated with the option will be taken when the variable is referenced.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2330).png" alt=""><figcaption><p>Multi select variable configuration</p></figcaption></figure>

### 2. Examples <a href="#id-2.-examples" id="id-2.-examples"></a>

#### **2.1. Filter based on option selection**

**STEP 1:** Create a select variable with the configuration shown below.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2331).png" alt=""><figcaption><p>Create select variable</p></figcaption></figure>

**STEP 2:** Create a Plan filter that references the technical name of the select variable.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(2332).png" alt=""><figcaption><p>Create a Plan filter</p></figcaption></figure>

**STEP 3:** Select options from the variable and notice how the data gets filtered without having to update the Plan  filter.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/Untitled%20Project%20(24).gif" alt=""><figcaption><p>Filtering data with a select variable</p></figcaption></figure>

## 2. Single select

This section outlines configurations specific to multi-select variables.

**1.1. Options:** Specify the options that will be displayed in the variables panel.

**1.2. Assign values:** Enable this toggle to assign values to each option. The value associated with the option will be taken when the variable is referenced.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(33).png" alt=""><figcaption><p>Single select variable configuration</p></figcaption></figure>

You can set up filters using single-select variables, which is similar to how we do for multi-select variables.


---

# 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.fabricplan.com/18.-variables/variable-types/select.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.
