cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerTom Frequent Visitor
Frequent Visitor

How to get the same total for all hierarchy members no matter the selection in the hierarchy filter

Hello,

 

I have a hierarchy that looks like this :

 

Level 0 (member A)

  Level 1 (members B and C)

    Level 2

      Level 3

 

I need to calculate the evolution of the production of this year compared to last year. I need to have this percentage for 'Level 1' of my hierarchy. And no matter the selection in my hierarchy, it always has to return the same percentage of 'Level 1'.

There is a filter for that hierarchy, so if I select a child/subchild of member B then it has to show the total percentage of all the childs of B and if I select a child/subchild of C, it has to show the total percentage of all the childs of C.

 

How can I do this with DAX?

 

Thanks,

 

Tom 

1 REPLY 1
Community Support Team
Community Support Team

Re: How to get the same total for all hierarchy members no matter the selection in the hierarchy fil

Hi @PowerTom,

 

Can you share a sample please? The function ALL may be needed in the DAX. But we can't write down more details if we don't have the data and its structure.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.