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

QVD Where Clause Error

Hello,

I'm getting syntax error when adding where clause to the Load QVD Script.

Error Message "Cannot open file".

It works perfectly WITHOUT the where clause, so any help on the syntax below would be much appreciated!

LOAD Local_Date,

  Clicks as Network_clicks
FROM [\\sea1ts\law\imp.qvd]

WHERE local_date='2012-01-01'(qvd);

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try using the below script

LOAD Local_Date,

  Clicks as Network_clicks
FROM [\\sea1ts\law\imp.qvd]

(qvd)

WHERE local_date='2012-01-01';

Hope this helps you.

Regards,

jagan.

View solution in original post

2 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try using the below script

LOAD Local_Date,

  Clicks as Network_clicks
FROM [\\sea1ts\law\imp.qvd]

(qvd)

WHERE local_date='2012-01-01';

Hope this helps you.

Regards,

jagan.

Not applicable
Author

I found out the issue.  (qvd) has to be BEFORE the where clause.

LOAD Local_Date,

  Clicks as Network_clicks
FROM [\\sea1ts\law\imp.qvd] (qvd)

WHERE Local_Date='2012-01-01';