# COLUMNS

The COLUMNS identifier returns a reference to a specific column in the report. Type 'COLUMNS.' to enable a dropdown with a list of all the columns available in the visual.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fsm6IHzAKE3H2ui9qfWbI%2FFormula%20Columns%202.png?alt=media&#x26;token=0867198c-2e73-49ae-bd53-d2227c439028" alt=""><figcaption><p>Columns reference</p></figcaption></figure>

{% hint style="warning" %}
'Columns' is applicable only when inserting visual measures.
{% endhint %}

## Example

We have a discount value for all months. If we want the discount value of January month to be applied for all months, then it can be achieved using the columns function as shown below.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FaktsCwOT7MSQUWB7CbYR%2FFormula%20Columns.png?alt=media&#x26;token=bfd70fdd-54c9-4cba-a416-785cf84d40a3" alt=""><figcaption><p>Columns reference</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/formula-syntax/identifiers/columns.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.
