Forum Discussion
Handling duplicates in IF statements
- 6 years ago
Hi Anonymous ,
Measure is different with calculated column, you need to use MAX(), MIN(), SELECTEDVALUE() or other functions to get a single value (aggregation) for calculation and comparison.
Anonymous you need to understand the difference between columns and measures, if you are creating a measure, you have to use some sort of aggregation and in this case, MAX is used as aggregation function.
https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡