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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Looping a list of documents

Hi,

I have to set up a loop using the ODBC connector which goes through all files in a folder and takes the data from each of them consequently ( more details in the file itself below ) I have used Qlikview components to create an internal list for the files, but I don't know how can I join it to the main body ( In the tab called Main 6 I have the script which is somehow supposed to help it but I cant figure it out

Availability_check:

NoConcatenate

LOAD

[File Path],

ID_row_no

RESIDENT Qvc.ListFilesTable;

let vCounter = fieldvaluecount('ID');

for  ID_row_no = 1 to vCounter

let  v = FieldValue('[File Path]',$(ID_row_no));

let  a = $(ID_row_no);

//main:

//LOAD $(*name) as ID,

2 Replies
Miguel_Angel_Baeyens

Hi,

Take a look at the script code in this thread.

Hope that helps.

Miguel

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I'm not quite following your example. Do you want to execute the script on the balance tab for each file?

-Rob