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

for loop

hi all,

i have excel with three sheets named sheet1,sheet2,sheet3

i want load those three sheets into qlikview using for loop    and

2.i have different excel  files dat1,dat2,dat3 how can i load using for loop  plz  help me with example

thanks

1 Solution

Accepted Solutions
senpradip007
Specialist III
Specialist III

Try like:

for i = 1 to 3

for j = 1 to 3

  Tab:

  LOAD 'Dat'&$(i)&'-'&'Sheet'&$(j) as Source,

  F1,

      F2

  FROM

 

  (ooxml, embedded labels, table is Sheet$(j));

next

next

View solution in original post

3 Replies
senpradip007
Specialist III
Specialist III

Try like:

for i = 1 to 3

for j = 1 to 3

  Tab:

  LOAD 'Dat'&$(i)&'-'&'Sheet'&$(j) as Source,

  F1,

      F2

  FROM

 

  (ooxml, embedded labels, table is Sheet$(j));

next

next

qlikviewwizard
Master II
Master II

Hi please check this thread.

Load Multiple excel sheets using For loop