March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
I can't get icons to display using conditional formatting in my table but I can get background color or font color to work properly from my data set. I'm trying get basic green, yellow or red colored circles to display.
My dataset for the field (Health) has the color names as values - background and fonts colors work perfectly on this data.
I've defined the conditional formatting icons as show below and nothing shows up.
No icons are displayed in the column.
What do I need to do to get the icons to display?
Thanks in advance.
Solved! Go to Solution.
@Anonymous - You will need a measure like this:
Measure =
SWITCH(MAX([Column2]),
"Green",2,
"Yellow",1,
"Red",0
)
Then, set your Icon Conditional formatting Rules up like this:
I have attached a PBIX under my signature.
@Anonymous
Under the conditional format of Table and Matrix you an option for Icon. Switch that On. After that you can use
Thanks for the suggestion. I turned on Icons for the table and it didn't have any effect.
Any other ideas?
It should open a popup, where you can choose conditional formatting and icons
Yes, a windows opened where I set the conditional formatting for the Health column and the icons still don't display. Is there somewhere I should be chosing what icons (circles, diamonds, etc.) should be displayed like when using Rules (vs Field values)?
@Anonymous - You will need a measure like this:
Measure =
SWITCH(MAX([Column2]),
"Green",2,
"Yellow",1,
"Red",0
)
Then, set your Icon Conditional formatting Rules up like this:
I have attached a PBIX under my signature.
Yep - that's exactly what I did to get it working. Not sure how Field Value works but by mapping my Health column to a new, numeric column and then using Rules, it works fine.
Thanks everyone.
I may be mistaken, but I believe field value with icons requires the field to be an SVG image. Glad you got it!
I believe that the field needs to contain an SVG image text.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
92 | |
85 | |
80 | |
71 | |
47 |
User | Count |
---|---|
171 | |
138 | |
88 | |
66 | |
56 |