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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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