Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
bushpalaamarnat
Creator
Creator

how to load multiple excel files with file name

Could some one help me load multiple excel files with the same file name and create single qvd?

1 Solution

Accepted Solutions
stabben23
Partner - Master
Partner - Master

use this script:

For each vFileName in Filelist ('C:\Users\xx\Documents\W*.xlsx') //Your path to files

Table:
LOAD
*
FROM
$(vFileName)
(
ooxml, no labels, table is Sheet1);
 
Next vFileName

store Table into Name.qvd(qvd);

View solution in original post

3 Replies
stabben23
Partner - Master
Partner - Master

use this script:

For each vFileName in Filelist ('C:\Users\xx\Documents\W*.xlsx') //Your path to files

Table:
LOAD
*
FROM
$(vFileName)
(
ooxml, no labels, table is Sheet1);
 
Next vFileName

store Table into Name.qvd(qvd);

stabben23
Partner - Master
Partner - Master

change to this

(ooxml, embedded labels, table is Sheet1)

bushpalaamarnat
Creator
Creator
Author

Thank you!

guess, I was not clear in my request. i see that now. The only challenge i have is the data in the week 4 and week 5 are dynamic in nature. some of the feilds like inventory or demand, every week it will change. Hope i am able to make sence. I have about 13 weeks data that get refreshed every week. in a rolling ways.

It is dynamic in nature.