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

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