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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.