# 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://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FGDjLF9rSkZKsVaAJ0NKz%2Fimage.png?alt=media&#x26;token=ddd904fd-826c-4e99-836c-f88272bf0880" alt=""><figcaption><p>Multi select variable configuration</p></figcaption></figure>

**1.3. Select any one to create from:** Choose the **List** option to enter the dropdown values manually. &#x20;

Instead of manually keying in the dimension categories, you can directly source them by selecting the dimension. Choose the **Dataset** option and select the appropriate dimension from the dropdown to source values.&#x20;

{% hint style="info" %}
This option is currently available only in Reporting Matrix.
{% endhint %}

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FeTwQrM4itqWdCzq7WvQR%2Fimage.png?alt=media&#x26;token=ae7b1796-2a2b-404e-a180-7c5cb62d7006" alt=""><figcaption><p>Select dropdown categories from dataset</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://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fc1fMCjg5Pu6AUoVWOs5E%2Fimage.png?alt=media&#x26;token=477c2518-ec05-49f6-8a70-22fd3067144c" 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://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F2NAhqAoVIfE9APbiYsxx%2Fimage.png?alt=media&#x26;token=fe58317b-7a27-4e41-b03c-3063d80455bb" 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://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FIcLfpKgOlzA3KygCBcky%2FUntitled%20Project.gif?alt=media&#x26;token=247d5e67-849c-4ac5-bd66-1a34074bfa6f" 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://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FlWzFIVlos9WkDK7mbUwS%2Fimage.png?alt=media&#x26;token=4433b5fc-2bd9-423f-ac7e-a4ba2af9c4fa" 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.inforiver.com/working-with-inforiver/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.
