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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Power BI Calculate Hierarchy Levels

Good day Power BI gurus,

 

Please will you suggest me how should i perform calculations (SUM) on hierarchy levels.

Herewith example:

 

Hierarchy Level.png

Please note,
If I choose "C" in the slicer, it should calculate (SUM) "C"  value, which is 25 and it's connected levels ("H", "R"),values respectedly 29, 40

If I choose "A" in the slicer, it should calculate (SUM) "A"  value, which is 10 and it's connected levels ("A", "B"),values respectedly 15, 25

 

Please will you provide solution / DAX accordingly

 

Thank you

 

Kind Regards

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

Based on your description, I could understand your requirement correctly.

If it is convenient, could you share your original table structure so that I could have a test on it?

In addition, you could have  a reference of the similar threads below.

https://community.powerbi.com/t5/Desktop/Manager-Level-Hierarchies-with-multiples-in-Power-BI/td-p/322302

https://community.powerbi.com/t5/Desktop/Dynamic-measure-calculation-for-hierarchy-data/td-p/592546

https://community.powerbi.com/t5/Desktop/Sum-Hierarchy-Levels-based-on-selection/td-p/477855

Best  Regards,

Cherry

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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