Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
niha
Creator II
Creator II

Load all QVDs in a folder with only 1 load statement

 Hello,

I need answer of this question.

how to:

  1. Load all QVDs in a folder with only 1 load statement
1 Solution

Accepted Solutions
6 Replies
Lisa_P
Employee
Employee

The best way would be to use a for loop to iterate through all the QVDs in the folder.

niha
Creator II
Creator II
Author

Thanks. Can you give any examples or link.

Lisa_P
Employee
Employee

Actually, the simplest way is to load all with wildcards.

LOAD
*
FROM [lib://QVDFiles/*.qvd]
(qvd);

niha
Creator II
Creator II
Author

Thanks Lisa,

is  [lib://QVDFiles/*.qvd] is path of QVD folder? Can you please elaborate a little?

 

LOAD
*
FROM [lib://QVDFiles/*.qvd]
(qvd);

Lisa_P
Employee
Employee

I created a connection named QVDFiles pointing to a folder location and this is extracting all the QVDs from that folder.

niha
Creator II
Creator II
Author

great!