Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter Records

Hi,

I want to filter out the records from the Qvd file by Using Load * from tablename where fieldname in (1,2,3)

It gives Error while executing the statement but the same work in SQL, Pls suggest the option.

Thanks,

Arun

2 Replies
Not applicable
Author

Hi Arun,

While loading the data, you cannot specify the 'in' keyword'. What you have to do is, you have to load and give the condition as given below.

Load * from tablename where fieldname = 1 or fieldname = 2 or fieldname = 3;

Just try this. This works fine for me. Hope this helps.

Thanks Joseph.

Not applicable
Author

Hi Arun

I think you can also use the MATCH function instead of IN as follows:

LOAD * From TableName WHERE MATCH(FieldName,1,2,3)