Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi Experts,
Can you help me with a measure so I can show the percentage by Service on the following bar chart:
So for Total Services, the % would be (by Illness Burden Category per example above):
The data looks like this:
And the Illness burden category is a field parameter:
When I switch to Age range and Gender, I also want the chart to show % of total by Service.
Thanks in advance 🙂
Soph
Hey @Anonymous
Apologies for the confusion. The use of SUM('Table'[Count]) and [Total Count] in my previous response was incorrect. There is no difference between them, and it was an oversight on my part.
To clarify, you only need to create the "Total Count" measure using the formula. Hope this helps!
Hi @Anonymous
I think the following steps should help in solving this problem:
Total Count = SUM('YourTable'[YourCount field])
Percentage by Service = DIVIDE(SUM('Table'[Count]), [Total Count])
Please cross check that you have the appropriate relationships established between the tables in your data model to ensure accurate calculations.
If this has solved your problem, please mark my post as solution.
Cheers
Thanks @data_freak - just a quick Q - for the % by service measure, what's the difference between SUM('Table'[Count]) and Total Count?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 41 | |
| 30 | |
| 24 |