Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 52 | |
| 41 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 122 | |
| 106 | |
| 47 | |
| 30 | |
| 24 |