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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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