Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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

;