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
Hi ,
Can someone please make a formula for me.
If the calue is 1 then its green, if its 0 then its red. And if none of those are selected nothing shows it blank
Solved! Go to Solution.
Hi @Anonymous ,
I didn't find the corresponding unicode for green circle, I inserted blue circle instead.
Please add below measure into a card visual.
KPI value = IF ( ISFILTERED ( Table1[On/Off] ), IF ( SELECTEDVALUE ( Table1[On/Off] ) = 1, UNICHAR ( 128308 ), UNICHAR ( 128309 ) ), BLANK () )
Best regards,
Yuliana Gu
Hi @Anonymous ,
I didn't find the corresponding unicode for green circle, I inserted blue circle instead.
Please add below measure into a card visual.
KPI value = IF ( ISFILTERED ( Table1[On/Off] ), IF ( SELECTEDVALUE ( Table1[On/Off] ) = 1, UNICHAR ( 128308 ), UNICHAR ( 128309 ) ), BLANK () )
Best regards,
Yuliana Gu
My fault, I meant just white. That nothing shows at all, just plain white. Then when you click it changes. So the kpi card is just white, when you click on either 0 or 1 the colors will change.
Hi @Anonymous ,
Still use above measure formula, then, turn off "Category Label", and set the color of "Data Label" to be the same as card's background.
Best regards,
Yuliana Gu
User | Count |
---|---|
117 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |