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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I would like to calculate a market share that fits the context of the graph.
Here is the graph I want to use.
So far, I manage to make a global market share.
I would like to have a total of 100% in each category (column).
My users are allowed to change categories if they want : delete categories, or add other categories from my Product Table.
My measure : SUM ( ' Sales '[amount])
My table for categories : Product
Thanks for your help 🙂
If you have a hierarchy, and you clearly have, you have to create a measure using ISINSCOPE and such a measure will be tightly coupled with your hierarchy. DAX is not the greatest with such a design, so the measure will only have to be used when this hierarchy is (correctly!) placed in a visual.
Here is a full and correct treatment of how such things should be handled and built.
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 |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 17 | |
| 12 |