Forum Discussion
if statement
I have particulars column in matrix table i need to compare particular column like table[particulars] = "first", i tried same like that but in if statement it is not showing table and column name.how can i achieve it
Hi Anonymous,
Try measure as:
Measure = IF( MAX('Table'[particulars])="first", 1, 0 )Here is the output:
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
2 Replies
- AnonymousNot applicable
Try using a DAX measure with IF(SELECTEDVALUE(Table[Column] = "first", ...., ...)
- v-xulin-mstf
Community Support
Hi Anonymous,
Try measure as:
Measure = IF( MAX('Table'[particulars])="first", 1, 0 )Here is the output:
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!