Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
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......