1 of 1 people found this helpful
The applyHierarchicalFilterAsync call applies to OLAP (Cubes in Microsoft Analysis Services for example) data sources. The superstore sample is not based an OLAP cube. While there are hierarchies in the sheet they are not hierarchies that can be manipulated using applyHierarchicalFilterAsync.
If your data source is relational like superstore you will need to use a different technique to provide a hierarchical drill down (you have not said this is what your goal is but I will assume this for now)
Also note Robert's use of Tableau Public and Codepen to demonstrate the capabilities. This would be great to do when seeking and providing assistance on this community. Other techniques could be to use github, fiddler etc.
Finally, if you are more interesting in learning about applyHierarchicalFilterAsync then you would need a cube data source, but that's a whole different story.
I was looking at to filter a hierarchy based on a relational data source only.
The shared blog will definitely help me to the some extent.