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: 
shs21
Contributor II
Contributor II

dynamic sheet loading

// List all files in the Sales Report folder
SalesReportFiles:
LOAD
FileName() as FileName
FROM
[lib://APAC D&A - Data Connections:APAC_D&A_APACDA_QlikFlatfiles_PROD/Shared Documents/Prod Projects/Plannining And Fin]
(txt, codepage is 1252, no labels, delimiter is '\t', msq);

// Loop through the files and load data from each file
for each vFile in FieldValueList('FileName')
// Load data from each file into the Fact1 table
//Concatenate( [Fact_His_temp])
Fact1:
LOAD
*

FROM [lib://APAC D&A - Data Connections:APAC_D&A_APACDA_QlikFlatfiles_PROD/Shared Documents/Prod Projects/Plannining And Fin/$(vFile)]
(ooxml, embedded labels, table is AZ);


i created these but it only take data from 1 sheet of all files i want it take data from all sheets which is present in files

Labels (2)
2 Replies
marcus_sommer