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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Dayna
Creator II
Creator II

Looping load script

Hello All!

I will have a SQL database which stores the location of 100's of excel sheets (all with the same/similiar formatting).

I want QlikView to loop through these sheets and load them into my application. I have no idea how to go about this tho! Please help!

KInd Regards,
Dayna

1 Reply
Not applicable

Hi Dayna,

I hope this gives an idea


temp_table:// for concatenate
noconcatenate LOAD * INLINE [
Temp
1
];

for each vFilename in filelist ('ExcelTables_*')

concatenate(temp_table)
load
*
from
$(vFilename)
(biff, embedded labels, table is Blad1$);

next


// drop dummy-field
drop field Temp;
Define VFilename as a variable with the location of the excelsheets


Regards

Sravan