Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
paulsparrow
Contributor III
Contributor III

Where statement with IN() clause

How do you do a LOAD with a WHERE clause that has an IN (...,...,..) statement.  In other words I want my where condition to have multiple instances.

4 Replies
jpenuliar
Partner - Specialist III
Partner - Specialist III

You can use Match() in place of IN()

Using IN clause in QlikView – Learn QlikView

maxgro
MVP
MVP

test:

LOAD

  rowno() as Field1,

  rand() * 100 as Field2

AutoGenerate 100;

output:

NoConcatenate load

  *

Resident test

where match(Field1, 1, 2, 3, 4, 5, 100);

DROP Table test;

paulsparrow
Contributor III
Contributor III
Author

Thanks.

oknotsen
Master III
Master III

If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post) and Helpful Answers (found under the Actions menu under every post).

If not, please make clear what part of this topic you still need help with .

May you live in interesting times!