The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Good day Power BI gurus,
Please will you suggest me how should i perform calculations (SUM) on hierarchy levels.
Herewith example:
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
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/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
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
41 |