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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
snehamahaveer
Creator
Creator

Load from multiple yearly qvds where year > 2012

Dear All,

I am trying to load data from multiple qvds and at the moment I am having to type the entire load statement for each qvd.!!

I have looked up a For each statement to upload multiple QVD's however, I am unable to adapt it to my situation. If you can come up with a better solution for my problem - it will be wonderful.

My qvd's are named as Customer_sales_2010 .... Customer_sales_2016

I want to upload all data from Qvd's where year > 2012.

Many thanks in advance!

1 Reply
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Something like:

Customer_Sales:

LOAD *

FROM

Customer_sales_*.qvd

WHERE

right(subfield(filename(), '.', 1), 4) > 2012

;