Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
danaleota
Contributor II
Contributor II

Excluding many values in a column don't want to use a bunch of where and's

Hi,

I would like to load a table that has a column - Years and there are many values of years I don't want to include.  Instead of writing:

Where Year <>  1800 And Year <> 1801 And Year <> 1802 And Year <> 1803 

Is there a faster way to write this out in a statement?  Thank you.  

1 Solution

Accepted Solutions
sunny_talwar

You can do this

Where Year >= 1804;

or

Where not Match(Year, 1800, 1801, 1802, 1803,...);

View solution in original post

2 Replies
sunny_talwar

You can do this

Where Year >= 1804;

or

Where not Match(Year, 1800, 1801, 1802, 1803,...);

danaleota
Contributor II
Contributor II
Author

Ah thank you!