# 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://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/nDLPl8ZUiRVIYfOQeszy/image.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://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/xXbiZWMtN4uoOW6nnMhE/image.png" alt=""><figcaption><p>Create select variable</p></figcaption></figure>

**STEP 2:** Create an Inforiver filter that references the technical name of the select variable.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FZ6ycTYmF721GPQWnmURi%2Fimage.png?alt=media&#x26;token=c5101ab2-426a-483b-8d80-3089c9b5aed6" alt=""><figcaption><p>Create an Inforiver filter</p></figcaption></figure>

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

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FBrrlGduYFpVASo3d4Pjd%2FUntitled%20Project.gif?alt=media&#x26;token=1fcd2c45-3eac-46a6-b70c-5032e7513d75" alt=""><figcaption><p>Filtering data with multi select variables</p></figcaption></figure>

## 2. Single select

This section outlines configurations specific to single-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://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FakiV77QUgtzTDIr5MrLl%2Fimage.png?alt=media&#x26;token=39836819-6183-445e-a72f-04429803ab4a" alt=""><figcaption><p>Single select variable configurations</p></figcaption></figure>

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