Forum Discussion
Gazsim44
Helper III
6 years agoIF & CONTAINS with Multiple Values
Hi All, I am trying to write a measure which is required to lookup text values in a column and then complete a simple division if the results are true. This proved easy enough when only one valu...
judspud
Solution Supplier
6 years agoHi Gazsim44
You could use the OR function.
Measure = IF(OR(CONTAINS('Data','Data'[Category],"GP"),CONTAINS('Data','Data'[Category],"Other Value")), DIVIDE([Current Year Actual],[Current Year Budget]))
Hope this helps
Thanks,
George
- Gazsim446 years ago
Helper III
Thanks George!
Sounds obvious now you mention it - just didnt think! 🙂