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

Announcements
Discover the Trends Shaping AI in 2026: Register Here!
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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';