Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
guyvermeiren
Creator
Creator

Syntax for not equal to / different from

Hello,

I want to use a formula where I have as result all values except one. I found that the syntax for different from is " -=".

I tried the next :

=if(Opportunity.Status-='On Hold',null(),Opportunity.Status) but this gives me " error in expression.

What's wrong ??

Thanks,

Guy



1 Solution

Accepted Solutions
Not applicable

This syntax is for Set analysis.

For the if statement it is:

=if(Opportunity.Status<>'On Hold',null(),Opportunity.Status)

Rgds,

Sébastien

View solution in original post

2 Replies
Not applicable

This syntax is for Set analysis.

For the if statement it is:

=if(Opportunity.Status<>'On Hold',null(),Opportunity.Status)

Rgds,

Sébastien

guyvermeiren
Creator
Creator
Author

Sébastien,

Thanks, this works.

Kind regards,

Guy