Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi All,
Please help to create DAX formual for below case.
1. I have created Matrix with 3 Level of hierarchy
2. Now I need to add column with % So i created below DAX to add this % but i am getting 100% in Matrix.
6. And so on
Please help with DAX
Thanks & Regards
Jamsher
Solved! Go to Solution.
Hi:
If you are happy with:
Share of Actual = DIVIDE(SUMX(PBI_MIS_TB, [ACTUAL]),
SUMX(ALLSELECTED(PBI_MIS_TB), [ACTUAL]))Share of Budget = DIVIDE(SUMX(PBI_MIS_BUDGET, [BUDGET]),
SUMX(ALLSELECTED(PBI_MIS_BUDGET), [BUDGET]))Hi, @Whitewater100
I tried both dax
Thanks & Regards
Jamsher
Hi, @jkhan
You can try using isinscope to get the right hierarchy level and change the values at each levels.
Please refer to this tutorial.
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Best Regards,
Community Support Team _ Eason
Great Thanks @Whitewater100 for your reply.
I will test the provided solution and will update shortly.
I also got below DAX through googling. I will try both solutions.
ACTUAL_% = DIVIDE(SUM(PBI_MIS_TB[ACTUAL]), CALCULATE(SUM(PBI_MIS_TB[ACTUAL]), ALLSELECTED()))
Thanks & Best Regards
Jamsher
Hi:
If you are happy with:
Share of Actual = DIVIDE(SUMX(PBI_MIS_TB, [ACTUAL]),
SUMX(ALLSELECTED(PBI_MIS_TB), [ACTUAL]))Share of Budget = DIVIDE(SUMX(PBI_MIS_BUDGET, [BUDGET]),
SUMX(ALLSELECTED(PBI_MIS_BUDGET), [BUDGET]))Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 18 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 21 | |
| 14 | |
| 12 |