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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

. If an excel file contains multiple sheets with different data\table . how to create a qvd for each sheet present in that excel file?

. If an excel file contains multiple sheets with different data\table . how to create a qvd for each sheet present in that excel file?

1 Reply
Clever_Anjos
Employee
Employee

something like this

where workbook.xls is your file


CONNECT TO [Provider=Microsoft.Jet.OLEDB.4.0;Data Source=workbook.xls;Extended Properties="Excel 8.0;"];

tables:

SQLtables;


FOR i = 0 to NoOfRows('tables')-1
LET sheetName = purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39));
Sales:
LOAD *
FROM workbook.xls (biff, embedded labels, table is [$(sheetName)]);
NEXT