There is no stock way to have hierarchies act as filters on dashboards. However, a workaround is to create hierarchies using parameters, showing parameter controls, then using the sheet as a filter:
1. Create a new parameter with the following settings:
-Data type: String
-List: (enter the three desired dimension names; i.e. Category, Sub-Category, Product Name)
2. Create a new calculated field, Dimension with the following formula:
CASE [Hierarchy Drilldown]
WHEN "Category" THEN [Category]
WHEN "Sub-Category" THEN [Sub-Category]
WHEN "Product Name" THEN [Product Name]
3. Drag Dimension to the Rows shelf.
4. Right click on Hierarchy Drilldown > 'Show Parameter Control'
Changing the Date Level Dynamically | Tableau Software could also be helpful.