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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Users online (3,097)