Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PowerTom
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
v-jiascu-msft
Employee
Employee

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.