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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pls give syntex for given below question

what is syntex and process for loading multiple excel sheets in single script..........................................................................................................................................................................pls write one senario at below for understanding purpose

1 Reply
MK_QSL
MVP
MVP

ODBC CONNECT TO [Excel Files;DBQ=C:\QlikView\Test.xlsx];

Let vFile = 'C:\QlikView\Test.xlsx';

For i=0 to NoOfRows('ExcelTables')-1

  Let vExcelSheet = PurgeChar(PurgeChar(Peek('TABLE_NAME',i,'ExcelTables'),CHR(36)),CHR(39));

  LOAD

       *,

       '$(vExcelSheet)' as SheetName

  FROM

  $(vFile)

  (ooxml, embedded labels, table is [$(vExcelSheet)]);

Next

Drop Table ExcelTables;