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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
DDONE1
Regular Visitor

Donut values as percentage of a total amount

Hi - can you guide as to how go create the following 

DDONE1_0-1700482851636.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @DDONE1 
To get the desired visual you can use a combination of donnuts and cards.

To get the donuts:

1. Put all the needed categories on the graph:

Ritaf1983_0-1700541241542.png

2. switch off all the elements (legend, title, data labels)

Ritaf1983_1-1700542620452.png

3. Format the colors of slices according to the color that you need to show as a "main" and a hole radius:

Ritaf1983_2-1700542806529.png

4. sort the donut by value:

Ritaf1983_3-1700542911414.png

5. repeat all this for the other categories : (I did for 3, because of a laziness 🙂 )

Ritaf1983_4-1700543032468.png

For the values in "Holes"

Create measures, for value, percent of the total, and combination with the category name

Total value = SUM('Table'[value])
Percent = divide([Total value],CALCULATE([Total value],all('Table'[Category])))
Don = SELECTEDVALUE('Table'[Category]) & UNICHAR(10)&FORMAT([Total value],"0,0")&UNICHAR(10)&FORMAT('Table'[Percent],"0%")
6. put the last measure on the card, switch off  the label, and modify the font size:
Ritaf1983_5-1700543372296.png

to save white spaces also make all padding of card 0

Ritaf1983_6-1700543454995.png

7. put the card at the donut center and filter by the donuts' marker's category

Ritaf1983_7-1700543574684.png

8. repeat these steps for all your donuts, result:

Ritaf1983_8-1700543634669.png

9. group all this "construction" :

Ritaf1983_9-1700543760157.png

Pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

 
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @DDONE1 
To get the desired visual you can use a combination of donnuts and cards.

To get the donuts:

1. Put all the needed categories on the graph:

Ritaf1983_0-1700541241542.png

2. switch off all the elements (legend, title, data labels)

Ritaf1983_1-1700542620452.png

3. Format the colors of slices according to the color that you need to show as a "main" and a hole radius:

Ritaf1983_2-1700542806529.png

4. sort the donut by value:

Ritaf1983_3-1700542911414.png

5. repeat all this for the other categories : (I did for 3, because of a laziness 🙂 )

Ritaf1983_4-1700543032468.png

For the values in "Holes"

Create measures, for value, percent of the total, and combination with the category name

Total value = SUM('Table'[value])
Percent = divide([Total value],CALCULATE([Total value],all('Table'[Category])))
Don = SELECTEDVALUE('Table'[Category]) & UNICHAR(10)&FORMAT([Total value],"0,0")&UNICHAR(10)&FORMAT('Table'[Percent],"0%")
6. put the last measure on the card, switch off  the label, and modify the font size:
Ritaf1983_5-1700543372296.png

to save white spaces also make all padding of card 0

Ritaf1983_6-1700543454995.png

7. put the card at the donut center and filter by the donuts' marker's category

Ritaf1983_7-1700543574684.png

8. repeat these steps for all your donuts, result:

Ritaf1983_8-1700543634669.png

9. group all this "construction" :

Ritaf1983_9-1700543760157.png

Pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

 
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.