> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/working-with-inforiver/18.-variables/variable-types/select.md).

# 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="/files/I4VFg04egT0L8Tzpd64K" 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="/files/w8ZSHoQeVfL50YgPWCH1" 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="/files/FfYDNVM6VzMlhONbihwk" 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="/files/Fbov4SimfGZP2WmQKHhv" 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="/files/Bg1yZ2MqjVoWAaADiqIl" 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="/files/QlbCyGuVAvDgYe5svSqg" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.inforiver.com/working-with-inforiver/18.-variables/variable-types/select.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
