> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xdr-3.x/cortex-xdr-3.x-documentation/investigate-and-respond-to-incidents/dashboards/custom-dashboards/configure-dashboard-drilldowns/variables-in-drilldowns.md).

# Variables in drilldowns

The following list describes the widget variables that are available in drilldowns, according to widget type. The variable defines the value to capture in the drilldown, according to the element that is clicked. The captured value is then configured as a parameter by which to filter data on drilldown.

* **Chart** (Area, Bubble, Column, Funnel, Line, Map, Pie, Scatter, or Word Cloud)

  ![DD\_example\_chart.png](/files/P4DVE8doCg9JQRZXG9mD)

  * **`$x_axis.name`**: Selects the x-axis name.
  * **`$x_axis.value`**: Selects the x-axis value for the clicked value.
  * **`$y_axis.name`**: Selects the y-axis name.
  * **`$y_axis.value`**: Selects the y-axis value for the clicked value.
* **Single value or gauge**

  ![DD\_example\_gauge.png](/files/k8Do9Ahfr0eD9qqSoQBA)

  * **`$y_axis.name`**: Selects the y-axis name that the single value represents.
  * **`$y_axis.value`**: Selects the y-axis value for the clicked value.
* **Table**

  ![DD\_example\_table.png](/files/LcZHjzhMHfscwosdIPFX)

  * **`$first.name`**: Selects the leftmost column name in the table.
  * **`$first.value`**: Selects the leftmost value in the clicked table row.
  * **`$clicked.name`**: Selects the column name of the clicked value.
  * **`$clicked.value`**: Selects the value in the clicked table cell.
  * **`$row.<field_name>`**: Selects the field (column) from the clicked table row.


---

# 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://cortex-docs.paloaltonetworks.com/cortex-xdr-3.x/cortex-xdr-3.x-documentation/investigate-and-respond-to-incidents/dashboards/custom-dashboards/configure-dashboard-drilldowns/variables-in-drilldowns.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.
