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: 
Not applicable

How to use filter (where not in) in QV script

this what we are using in sql scipting while generating qvd

AND THE.CallerID NOT IN (45,67,667,288)

but i wanted to apply this filter to qvd before reload.

can anyone help me.

thanks in advance.

4 Replies
rbecher
MVP
MVP

Hi,

you can probably use:

AND NOT Match(THE.CallerID, 45, 67, 667, 288)

- Ralf

Astrato.io Head of R&D
yavoro
Partner - Contributor III
Partner - Contributor III

rather use it like this:  AND Match(THE.CallerID, 45, 67, 667, 288) = 0

Y.A.
rbecher
MVP
MVP

Same result but hard to read..

Astrato.io Head of R&D
yavoro
Partner - Contributor III
Partner - Contributor III

Maybe this is the best option then (just found it):

AND NOT EXISTS (THE.CallerID,45,67,667,288)

Never used it myself, but will do next time I need something like that.

Regards

Y.A.