> 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/premium-table/working-with-premium-table/10.-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="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&amp;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&amp;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&amp;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.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
