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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Long where clause

How can I sreate long where clause? Or can I do two clauses in same LOAD statement?

I tried this one, but it doeas not work->

WHERE "kod_system" = 'EU' AND sprak = 'FI' and class= (2,5,8,3,45,98);

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    It depends where you are using the where clause.

    If you are using where clause with SQL statement then you sould do like this.

    SQL Select Kod_System, Sprak, Class

    From Xyz

    where Kod_System = 'EU' and Sprak = 'FI' and Class in (2,5,8,3,45,98);

    If you are using with  Load statement then you shoudl do like this.

    Load Kod_System, Sprak, Class

    From Xyz

    where Kod_System = 'EU' and Sprak = 'FI' and match(Class,'2','5','8','3','45','98');

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!