Step:1

Create [Dim Parameter]

Untitled.png

Step:2

Create calc as

Case [Dim Parameter]

When “Region” then [Region]

When “Product Category” then [Product Category]

End

 

Step:3

Drag this calculation into row

 

Step:4

Show parameter control and select dimensions.