Forum Discussion
simple measure
- 3 years ago
Hello vrv ,
If you need to have the result in the below format, you need to create a Calculated column. You are not able to enter the column name because you are trying to create a measure. And a column cannot be used in a measure.Result = SWITCH(Table_Name[column_name], 1, "GOOD", 0, "BAD")
OR
Result = IF(Table_Name[column_name] = 1, "GOOD", "BAD")
Hi anybody, any idea?
my question is how do I enter the column name?
what is the correct format?
Apparently I can't drag and drop the column in there, so somethign is wrong ...
Thank you,
vrv
I
Hello vrv ,
If you need to have the result in the below format, you need to create a Calculated column. You are not able to enter the column name because you are trying to create a measure. And a column cannot be used in a measure.
Result = SWITCH(Table_Name[column_name], 1, "GOOD", 0, "BAD")
OR
Result = IF(Table_Name[column_name] = 1, "GOOD", "BAD")