> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/drilldowntree/getting-started/getting-started-with-drilldowntree/getting-started-with-viz-extension.md). Agents can also search and read this documentation through its [MCP server](https://docs.infotopics.com/~gitbook/mcp).

# Getting started with Viz Extension

As a viz extension, DrillDownTree is a mark type on a worksheet. You build it by dropping fields on the Marks card, just like a regular Tableau chart.

## Add DrillDownTree to a worksheet

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2Fgit-blob-4d2e10cc9400133895d4e3522b0369799022d773%2FDDT_VizExt_MarkType.png?alt=media" alt="The mark type dropdown with DrillDownTree under Viz Extensions" width="180"><figcaption></figcaption></figure>

1. On the **Marks** card, open the mark type dropdown and click **Add Extension**.
2. Add DrillDownTree:
   * Search for DrillDownTree in Tableau Exchange and click **Add to Worksheet**, or
   * If you have a TREX file, click **Access Local Viz Extensions** and select the TREX file.
3. Click **OK** to allow the extension to run on your worksheet.

## Build the tree

The Marks card now has two extra fields:

* **Dimensions**: drop all dimensions you want to drill into here.
* **Measure**: drop the measure to show in the tree. Drop more than one measure to let your viewers switch between them.

DrillDownTree appears as soon as both have a field.

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2Fgit-blob-6e394e130ffc66d4f80d44f9da2d8822235d527e%2FdrillDownTree.gif?alt=media" alt="Dropping dimensions and measures on the Marks card" width="375"><figcaption></figcaption></figure>

## Save the state in a parameter

To remember the drill path for your viewers and to use [Customize measures](https://docs.infotopics.com/drilldowntree/configuration/customize-measures.md), connect a parameter:

1. [Create a string parameter](https://docs.infotopics.com/drilldowntree/getting-started/getting-started-with-drilldowntree/getting-started-with-dashboard-extension/configuring-parameter/setting-up-a-parameter-in-tableau.md) in your workbook.
2. Open the **Data & Measures** pane (icon tooltip "Data, calculations, and parameters").
3. Select the parameter in **Select parameter** and click **Save**.

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2Fgit-blob-f290c2fb9fc93f9ea922a7b8f41f6f57015f21dc%2FDDT_VizExt_DataAndMeasures.png?alt=media" alt="The Data &#x26; Measures pane of the viz extension" width="495"><figcaption></figcaption></figure>

## Differences with the dashboard extension

* There is no worksheet to select: the viz extension uses the fields on its own Marks card.
* There is no **Dashboard Actions** pane and no popup mode. Clicking a node selects the matching marks instead, so you can use regular Tableau worksheet actions to filter other sheets.


---

# 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.infotopics.com/drilldowntree/getting-started/getting-started-with-drilldowntree/getting-started-with-viz-extension.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.
