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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in using IN function

Hi,

Is it possible to use the IN fuction when loading a QVD.

When I try to use the IN function in the Where conditon its showing error.

Please advise...

Regards

Chriss

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The QV script equivalent is Match(), eg

     Where City In  ('Cape Town', 'Johannesburg', 'Harare')

codes in QV like this:

     Where Match(City, 'Cape Town', 'Johannesburg', 'Harare')

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The QV script equivalent is Match(), eg

     Where City In  ('Cape Town', 'Johannesburg', 'Harare')

codes in QV like this:

     Where Match(City, 'Cape Town', 'Johannesburg', 'Harare')

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Excellent Jonathan,

It works......