Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sajarac
Helper III
Helper III

KPI Donut Chart

Hello Community.

I had to stop doing some PowerBI reports for almost 2 years and it seems like I have to start from the beginning again.

 

Anyway.

 

I have a silly question and I would like to get an advice.

 

I have this visual KPI donut.

and It gives me a number like 1500000%

 

So I need first to fix that value, and second I need that number to be the percentaje over the total of my column.

I mean. Let's see I have a column name GrossPound.

I have a Measure = 

TotalGrossPounds = SUM('Database'[GrossPounds])
 
That is my single value.
But in my Database I have a column products
Product A
Product B
Product C
Product D
And the grosspounds is the sum of all those products
 
I want that visual to show only the percentage from product B compared with the sum of Products.
 
Make sense?
 
Thanks in advance for any help.
 
Regards
1 ACCEPTED SOLUTION
FrankAT
Community Champion
Community Champion

Hi @sajarac ,

you can do it like this. Adapt the measure to your circumstances:

 

Percentage Measure =
DIVIDE(
    CALCULATE(SUM('Database'[GrossPounds]), Product = "B"),

    CALCULATE(SUM('Database'[GrossPounds]), ALL('Database'[Products])

)

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

View solution in original post

2 REPLIES 2
sajarac
Helper III
Helper III

You are absolutely rigth.

THANK YOU VERY MUCH!!

 

Fixed at the first try.

 

FrankAT
Community Champion
Community Champion

Hi @sajarac ,

you can do it like this. Adapt the measure to your circumstances:

 

Percentage Measure =
DIVIDE(
    CALCULATE(SUM('Database'[GrossPounds]), Product = "B"),

    CALCULATE(SUM('Database'[GrossPounds]), ALL('Database'[Products])

)

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.