> For the complete documentation index, see [llms.txt](https://docs.whaly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whaly.io/data-management/explorations/metrics/create-drill-downs.md). Agents can also search and read this documentation through its [MCP server](https://docs.whaly.io/~gitbook/mcp).

# Create Drill Downs

Drills downs are used by data consumers to explore further a metric. They will be available when the user clicks on the chart and will show the underlying records that have been used to compute the metric.

Drill downs can be defined at the table level or at the metric level. Metric will inherit for the table configuration and can override the table configuration if needed.&#x20;

### Configuring Drill Downs at the table level

<figure><img src="https://34758050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MC1g4I2_CgXd0qAq1P7%2Fuploads%2FtUUqbPHTGAZuwuwpBYPm%2Fimage.png?alt=media&amp;token=038c62d4-e021-459d-bae8-184677c5bee1" alt=""><figcaption><p>Drill at the table level</p></figcaption></figure>

&#x20;At the table level drill downs can be:

* **Disabled** by default: This means that end users won't be able to click on the chart to get access to the records.
* **Inherit** from the dataset configuration (default): [On the dataset](https://docs.whaly.io/data-management/workbench/understanding-datasets/drills.md) that is used to build the table you can define columns that will be used on all metrics
* Use a **combination of dimension and metric**: You can generate your own query with your own dimension and metrics to make the drills more readable

By default all metrics created under this table will inherit the table configuration

### Configuring Drill Downs at the metric level

<figure><img src="https://34758050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MC1g4I2_CgXd0qAq1P7%2Fuploads%2F4p4yjQRFYWYGc2DFNw66%2Fimage.png?alt=media&amp;token=6ab12b77-0c20-4750-844f-17c6a573f0f4" alt=""><figcaption><p>Configuring drills at the metric level</p></figcaption></figure>

At the metric level drill downs can be:

* **Disabled:** If for some reason you want to avoid your users to view records on a specific metric, this can be useful for calculated metrics  as record level is not easily understandable.
* **Inherit from table (default):** This will give you the drills that are configured at the table level
* **Select from existing measure**: You can generate any query you wish at the metric level


---

# 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.whaly.io/data-management/explorations/metrics/create-drill-downs.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.
