Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello - How can I use IF and Contains together when writing a dax?
So the dax should be
IF table 1 , coulmn email contains "@gmail.com" then return "Gmail" else other
Table 1
ggg@gmail.com |
nnn@yahoo.com |
kkk@apple.com |
mmmm@bananna.com |
kkkkk@pear.com |
Solved! Go to Solution.
As a calculated column:
Gmail? = IF(CONTAINSSTRING('Table 1'[Email], "gmail"), "gmail", "Other")
As a measure:
gmail measure =
IF(CONTAINSSTRING(MAX('Table 1'[Email]), "gmail"), "gmail", "other")
Proud to be a Super User!
Paul on Linkedin.
As a calculated column:
Gmail? = IF(CONTAINSSTRING('Table 1'[Email], "gmail"), "gmail", "Other")
As a measure:
gmail measure =
IF(CONTAINSSTRING(MAX('Table 1'[Email]), "gmail"), "gmail", "other")
Proud to be a Super User!
Paul on Linkedin.