- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
swtich 1 green 0 red else blank no color
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
I want his as a big circle, and not in a table for condotional formatting
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
08-13-2024 09:19 AM | |||
05-03-2024 07:18 AM | |||
11-03-2023 12:12 AM | |||
11-03-2022 08:29 PM | |||
10-09-2020 12:25 AM |
User | Count |
---|---|
83 | |
78 | |
52 | |
37 | |
36 |
User | Count |
---|---|
104 | |
85 | |
47 | |
44 | |
43 |