Sets and Set Actions to create a Single Member Drilldown – video Skill Pill
In Tableau you can drilldown using Hierarchies. But what if you wanted to drilldown only for one member of a Hierarchy? To achieve this we can use Sets and Set Actions to create a Single Member Drilldown.
In order to create a single member drilldown, using Set Actions in Tableau, please follow these steps:
Step 1: Connect to data
In Tableau Desktop, connect to Superstore sample data provided by Tableau.
Step 2: Create the Sheet and Calculated fields
Create a sheet called Single Member.
Right click Category field, go to Create and then Set.
Select a value from Category to add to the Set, so that it is not empty and name the Category Set.
Under Analysis->Create Calculated Field.
Name the Calculated Field as Subcategory Expand.
Write the formula: IF [Category Set] then [Sub-Category] else ” END.
Right click Subcategory Expand field, go to Create and then Set.
Select a value from Subcategory Expand to add to the Set, so that it is not empty and name the Subcategory Expand Set.