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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
al7948
Advocate I
Advocate I

Conditional format icons as red, yellow, green for each quarter pie slice icon

I have a table, where I'd like to use red or yellow or green colored pie slices based on a percentage value.

Power BI only offers this icon in a black color (see below).

 

What I'd like is to color these?

Anyone have suggestions?colored-icons.jpgblack-icons.jpg

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @al7948 
We don't have this type of conditional formatting in a standard way, 
Maybe you can achieve it with SVG images.
This is the link to the basic code for the pie :
https://kerrykolosko.com/portfolio/circular-gauges/

more information about using svg images:

https://www.minceddata.info/2018/08/12/using-svg-graphics-to-create-microcharts-in-power-bi/
https://www.youtube.com/watch?v=UxZQ8dOosyg

 

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

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @al7948 
We don't have this type of conditional formatting in a standard way, 
Maybe you can achieve it with SVG images.
This is the link to the basic code for the pie :
https://kerrykolosko.com/portfolio/circular-gauges/

more information about using svg images:

https://www.minceddata.info/2018/08/12/using-svg-graphics-to-create-microcharts-in-power-bi/
https://www.youtube.com/watch?v=UxZQ8dOosyg

 

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

Thank you so much.  That is a very useful measure.

I also found this link that helped me expand on the PBI theme to create more, multiple colors R/Y/G with these icons from SVG.  

https://hatfullofdata.blog/svg-in-power-bi-part-7-using-theme-svg-icons/

Glad to help 😊

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.