Forum Discussion
Anonymous
5 years agoNot applicable
DAX IF text contains
Hi Team, I have Markets and i need output in status column, DAX - if markets contains 40* then H else W Pleas Thanks, KV's
- 5 years ago
Hey Anonymous ,
you should be able to solve that with a calculated column and the function CONTAINSSTRING:
Status = IF( CONTAINSSTRING( myTable[Markets], "40" ), "H", "W" )If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.bi
selimovd
5 years agoMost Valuable Professional
Hey Anonymous ,
you should be able to solve that with a calculated column and the function CONTAINSSTRING:
Status = IF( CONTAINSSTRING( myTable[Markets], "40" ), "H", "W" )
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
selimovd
5 years agoMost Valuable Professional
Hey Anonymous ,
did it work with the calculated column I proposed?
I'm curious if you could solve this issue 🙂
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi