Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
katieaoc1
Contributor
Contributor

Simple IF statement won't work

I've looked up all the answers already posted and the actual docs here, https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ConditionalFun... .

I still cannot figure out how to make this If statement work. I'm trying to group emaildomain of "gmail.com" into the group "Gmail" and all the other emaildomains into "Other".

=If(EmailDomain 'gmail.com','Gmail','Other')

I've written countless queries like this is Tableau... I really dislike Sense. It's so unintuitive.  Any help would be greatly appreciated. 

 

2 Replies
Lisa_P
Employee
Employee

=If(EmailDomain='gmail.com','Gmail','Other')

katieaoc1
Contributor
Contributor
Author

Thank you for your help!