Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
68 | |
57 | |
55 | |
36 | |
34 |
User | Count |
---|---|
76 | |
73 | |
48 | |
45 | |
43 |