Forum Discussion
fjjpeeters1976
Helper III
2 years agoIcons in card visual / conditional formatting
Hi all, I want to create some cards (new) that show me an icon. 1 means green icon, 2 means yello icon and 3 means red icon. I have first done it in a table, but that has its limitation. So a...
- 2 years ago
You can achieve it using dax code ( for every measure )
formatted kpi = if([kpi 1]=1,"🟢",if([kpi 1]=2,"🟡","🔴"))The icons that I used are from the linked website:
https://www.i2symbol.com/symbols/circle
You just select the needed icon click on it and copy and paste it into the code.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
- 2 years ago
It works. Thanks for your answer.
Ritaf1983
Super User
2 years agoYou can achieve it using dax code ( for every measure )
formatted kpi = if([kpi 1]=1,"🟢",if([kpi 1]=2,"🟡","🔴"))
The icons that I used are from the linked website:
https://www.i2symbol.com/symbols/circle
You just select the needed icon click on it and copy and paste it into the code.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.