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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
al7948
Frequent Visitor

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

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

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 😊

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors