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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
madhubabum
Creator
Creator

How to create a loop for extracting the data from multiple .xlsx files

Hi All

I have one Folder with 5 Excel(.xlsx) files

I want to extract the data from excel files with a loop condition.(create a next loop) ?

How can we implement ?

Thanks

Madhu

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

here it is an example:

let path_Pallet = '..\..\*.xlsx';

for each File in filelist (path_Pallet)
PalletInfo:
LOAD * FROM $(File) (ooxml, embedded labels, table is Foglio1);
next File

Not applicable

do the files have a consistant naming convention - if they do, you can use a wild card in the file name in the load script

madhubabum
Creator
Creator
Author

Hi Alessandro

If an error occurred , how can we identify ?

Thanks

Madhu

Colin-Albert
Partner - Champion
Partner - Champion

Enable the document log and look at the log file.

GenerateLogfile.JPG