This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello everyone,
This donut chart shows the total of area and the percentage. It shows the correct data.
However, when i select one store it shows the right area, but it still shows 100%. When, in fact, the store chosen do not correspond to 100% of the total area - it should be 75/181,39*100 = 41,35% .
How to solve this?
Thank you very much
Solved! Go to Solution.
Hi @elcamino
When filters are applied, Power BI calculates pie/donot chart percentages based on the total of the visible crows. So, if only a single category is selected, the numerator and denominator are the same, resulting in 100%. Unfortunately, in donut and pie charts, data labels cannot be set to use a separate measure for custom percentages. A workaround is to use Deneb, though this requires some coding.
Please see the attached sample pbix
Once you filter to a single store, Power BI calculates the label percentage against the visible total inside that visual, so that slice becomes 100% of the filtered donut, not 41.35% of the original total.
The practical wokarounds are:
Hi @elcamino
When filters are applied, Power BI calculates pie/donot chart percentages based on the total of the visible crows. So, if only a single category is selected, the numerator and denominator are the same, resulting in 100%. Unfortunately, in donut and pie charts, data labels cannot be set to use a separate measure for custom percentages. A workaround is to use Deneb, though this requires some coding.
Please see the attached sample pbix
hi @elcamino, the problem with context transition. this whats happening. When you are using the measure, its taking consideration of totals on the current filter context. So when you are using sclicer, the current filter calculate the totals and the chart is calculating the % based upon that total. As you are using the chart formating pane to show data and percentage of total, the native "% of total" label can only calculate a percentage based on the data currently available inside that specific visual's query.
You need to use explicit measure using ALL or ALLSELECTED based on your requirment and use seperate visual. I donut chart, it wont be possible.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 35 | |
| 34 | |
| 24 | |
| 24 |