Set-up dashboard extension
To set up the dashboard extension, you will need to create or use a datasheet with a dimensional data structure. In this example, we use Product structure from the SuperStore dataset which is already available as a hierarchy. The image shows an example of the Product structure hierarchy in the SuperStore dataset, but the dimensions don't have to be in a Tableau Hierarchy structure. The dimensions you want to use for the HierarchyFilter can be put on the rows shelve in any order.

The next step is to create your dashboard with the HierarchyFilter. Create a new dashboard and add your hierarchy datasheet to the dashboard. This sheet contains the data that will feed the HierarchyFilter extension. You can also add some other Tableau visualization sheets to the dashboard based on the same data source. This way you can use the interactivity of the HierarchyFilter extension.
Now add the HierarchyFilter extension to the dashboard (use the trial Trex file or a Trex matching a purchased subscription). Your Dashboard should look something like the image below.

The next thing we need to do is configure the extension to use/visualize the hierarchy and make the dashboard interactive.
To enter the configuration screen, click on the "Configuration" button in the extension. alternatively, select the container of the HierarchyFilter extension and from the dropdown context menu select “Configure” as shown in the image below (click to enlarge).

Configuration wizard
A configuration menu will pop up. The configuration consists of wizard-like steps, indicated at the top of the screen. This is shown in the example below.

Here, select the dimensional data structure. For the set up of the recursive structure, look here. After choosing the structre type, we can go to the next page.

In the Sheets and Fields page of the configuration, we first need to select the datasheet we want to use. This is where the HierarchyFilter will get it's data. after selecting the sheet, a list of dimension and measure names will show in the Hierarchy fields list. Clicking on the add button will put it in the list on the left. The items in this list will be the levels of the hierarchy in order. You can change the order by dragging the items in the list.
The rest of the configuration is optional. You can click on next twice, and then on the done button to save the configuration. The rest of the options are explained in Configuration the configuration pages of this wiki.
After clicking on "submit" the HierarchyFilter should look like the image below.

Last updated
Was this helpful?
