MDX subset based on element from alternate hierarchy
Posted: Tue Feb 15, 2022 6:49 pm
Hi,
I am trying to achieve functionality in PAW view where I have a dimension with default hierarchy and a selector dropdown from the same dimension but different hierarchy. I want to make the view dynamic in a way that when a user makes a selection in the drop down, the view displays only those members that belong to the selection.
Here is an example:
I have a Product dimension which has which has default hierarchy defined as:
Total Product
--Prod1
--Prod2
--Prod3 and so on
Alternate hierarchy Category has a structure:
Total category
--Cat1
----Prod1
----Prod3
--Cat2
----Prod2
I want to to display Prod1, and Prod3 when the user selects Cat1 in the dropdown and display Prod2 when the user selects Cat2.
Thanks for any feedback.
I am trying to achieve functionality in PAW view where I have a dimension with default hierarchy and a selector dropdown from the same dimension but different hierarchy. I want to make the view dynamic in a way that when a user makes a selection in the drop down, the view displays only those members that belong to the selection.
Here is an example:
I have a Product dimension which has which has default hierarchy defined as:
Total Product
--Prod1
--Prod2
--Prod3 and so on
Alternate hierarchy Category has a structure:
Total category
--Cat1
----Prod1
----Prod3
--Cat2
----Prod2
I want to to display Prod1, and Prod3 when the user selects Cat1 in the dropdown and display Prod2 when the user selects Cat2.
Thanks for any feedback.