> 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-dashboard-extension/configuring-parameter/setting-up-a-parameter-in-tableau.md).

# Setting up a parameter in tableau

Create a parameter in Tableau for DrillDownTree to store its state in. This works the same for the dashboard extension and the viz extension.

1. In the **Data** pane, open the menu and click **Create Parameter**.
2. Give the parameter a name you'll recognize, for example "DrillDownTree state".
3. Set **Data type** to **String**.
4. Leave **Current value** empty.
5. Set **Allowable values** to **All**.
6. Click **OK**.

DrillDownTree only lists parameters of type string with allowable values set to All in **Select parameter**. Don't see a parameter you just created? Reload the extension: DrillDownTree reads the list of parameters when it loads.

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2Fgit-blob-9d0288788618633695039058246ab62d9ef1a68a%2FDDT_Parameter_Create.png?alt=media" alt="A string parameter with an empty current value and allowable values set to All" width="560"><figcaption></figcaption></figure>

{% hint style="warning" %}
Using more than one DrillDownTree in the same workbook? Create a separate parameter for each one. When two DrillDownTrees share a parameter, they overwrite each other's state.
{% endhint %}


---

# 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-dashboard-extension/configuring-parameter/setting-up-a-parameter-in-tableau.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.
