Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

In Clause in Qlikview

Hi,

Please tell me how can the "in" clause is used in qlikview?

Is there any option available to use the "in" clause in qlikview?

4 Replies
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

if you are looking for

Field in ('A','B','C')

you could use

match(Field, 'A','B','C')>=1

Not applicable
Author

Load a field

Use where exists()

Fabrice

Anonymous
Not applicable
Author

I assume you mean the SQL "in".  If correct, see match() function:

match(field, 'value1', 'value2', 'value3',...)

It returns 0 (false) if none of the values exist in the field.  Otherwise it returns the number of the matching value, which is not 0 (hence "true").

Regards,

Michael

Not applicable
Author

Thank you very much.

Match function did worked.