This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hey everyone,
In my dataset I have a column called "Isclosed" which has a value of True or False.
In my vizualisation I am trying to create a "card" or anything that display "Closed" if the value is True (True=Closed) and "Active" if the value False (False=Active).
What kind of measure can I do to help me out with this?
Thank you
Solved! Go to Solution.
Hi @Anonymous ,
Here is a picture with either a table or a card.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
UPDATE
I have tried to combine a aggregate function like below
Hi @Anonymous ,
Try using MAX instead of ALL.
Proud to be a Super User!
Hi @Anonymous ,
Status = IF(MAX( mytable[BudgetClosed]) = "True","Closed","Active")
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
Hi @Anonymous ,
Here is a picture with either a table or a card.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
Hey @Nathaniel_C thanks for the help! I had to first convert the whole column to a text type (as it was boolean) so it did not work before but now it works perfectly.
If(table[IsClosed] = "True","Closed","Active")Hi @Anonymous ,
Try this.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
Hey there Nathaniel,
It keeps giving me a error as I cant select the table[IsClosed]. This is probably because I need a aggregate function? This is what I get
Let me know what you suggest.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 20 | |
| 19 | |
| 19 |