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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

reloading csv files with where clause

I have a csv file which pulls data into Qlikview.

On reload this works fine, however when I put a where clause at the end Im getting this error

----------------------------------------------------------------------

Cannot open file 'test.csv]

WHERE col1 = '307'

[material]:

NOCONCATENATE

LOAD col1,

     col2,

     col1 & ' - ' & col2 as g_product

FROM [test.csv]

WHERE col1 = '307'

-----------------------------------------------------------------------

I have the semi-colon at the end of my where clause but its not in the error message.

1 Solution

Accepted Solutions
SunilChauhan
Champion II
Champion II

take resident and apply where clause

Sunil Chauhan

View solution in original post

2 Replies
SunilChauhan
Champion II
Champion II

take resident and apply where clause

Sunil Chauhan
jagan
Partner - Champion III
Partner - Champion III

Hi,

You can you also do like this.

LOAD

     *

WHERE col1 = '307';

LOAD col1,

     col2,

     col1 & ' - ' & col2 as g_product

FROM [test.csv];

Regards,

jagan.