Forum Discussion

elcamino's avatar
elcamino
Frequent Visitor
6 months ago
Solved

Donut Chart - dynamic percentage

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%...
  • danextian's avatar
    6 months ago

    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