Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
79 | |
53 | |
39 | |
39 |
User | Count |
---|---|
104 | |
85 | |
47 | |
44 | |
43 |