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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do you use is not and is not in condition

In SQL, you have the following conditions is not ('ABC') and is not in ('ABC', 'XYZ') which are very useful - can you use the same in Qlikview? As I have a list of 80 items and I want to exclude only 2, do I need to include all 78 which seems very cumbersome.

Please let me know.

Thanks.

Ron

3 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

You can do it in qlikview like

Load

     *

From Source

Where not Match(FieldName, 'ABC', 'XYZ');

jpapador
Partner - Specialist
Partner - Specialist

Or if you want it in an IF Statement it would look like

If(Match(Field1, 'BadValue1', 'BadValue2') > 0, Null(), Field1) as NewField,

rajni_batra
Specialist
Specialist

if(wildmatch(Field1, 'Value 1' , 'Value 2' )=0,'No','Yes')