# Advanced variables

Advanced variables enable users to refer to specific values or calculated values, and display them in the header or variables side panel.

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

This section outlines configurations specific to advanced variables.

**1.1. Formula:** The value or calculation displayed in the variable.

<figure><img src="/files/SNE2oO3duQ8qRICgqwMf" alt=""><figcaption><p>Writing a formula or using a reference for advanced variables</p></figcaption></figure>

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

**2.1. Display information**

**STEP 1:** Create an advanced variable with the configuration shown.

<figure><img src="/files/UjO4IbTNHy4HMk7CHgul" alt=""><figcaption><p>Define an advanced variable</p></figcaption></figure>

**STEP 2:** Insert the variable in the header by selecting the technical name of the variable from the Insert dropdown.

<figure><img src="/files/4E3B7EtVZgLQTPaSINuX" alt=""><figcaption><p>Insert the variable in the header</p></figcaption></figure>

The current UTC date and time are displayed in the header with advanced variables.

<figure><img src="/files/z83zdTRPp9sKLUnjdXiS" alt=""><figcaption><p>Advanced variables in the header</p></figcaption></figure>


---

# 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/advanced-variables.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.
