Forum Discussion
Condition on a measure
How to put a condition on a measure, I've a measure which have all numeric values in each row and need to compare it with a fixed number, I'm trying this:
conditional_Column = IF(
[Measure] >= 20000 ,
"Met" ,
"Not Met"
)
Please let me know if I'm doing wrong.
Thanks
2 Replies
- _AAndrade
Resident Rockstar
At fisrt glace, your measure is correct. If you can share a sample pbix, I can try to help you
- AnonymousNot applicable
Hi, goldstain09
According to your description, the MEASURE you wrote works, if he doesn't work in your DAX or you have other needs, you can share the pbix file with no sensitive data, the datasheet (not the screenshot), the desired effect, and the logic to achieve the effect.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum