Forum Discussion
Anonymous
6 years agoNot applicable
Measure with If statement checking for value
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 v...
- 6 years ago
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
Anonymous
6 years agoNot applicable
UPDATE
I have tried to combine a aggregate function like below
status = If(ALL('TimeExport (3)'[BudgetClosed]) = "True","Closed","Active")
but I got this error
This is most likely because the values in the table are booleans.
any solution would be greatly appreciated!
- Nathaniel_C6 years agoCommunity Champion
Hi Anonymous ,
Try using MAX instead of ALL.- Anonymous6 years agoNot applicable
- Nathaniel_C6 years agoCommunity Champion
Hi Anonymous ,
I will send you a pbix that has this implemented.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