Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a directory which contains sub directory 'a', 'b', 'c', 'd', 'e' .... I want load data conditionally, for example:
set vDirList = ['a', 'b', 'c']; //Only load sub directory 'a', 'b', 'c';
//set vDirList = []; //Load all sub directory
if len($(vDirlist )) = 0 then //for all sub directory
let vDirs = DirList('D:\*');
else
let vDirs = $(vDirList);
endif
for each dir in $(vDirs)
do load ...
next dir;
How to write the script?
Hi @wrsjar_qlik
Try like below
https://community.qlik.com/t5/QlikView-App-Dev/loop-through-to-load-all-files-from-a-folder-and-its-...
https://www.quickintelligence.co.uk/convert-drop-folder-files-qvd/
this too:
https://community.qlik.com/t5/Documents/Loop-through-Folders-and-sub-folders-to-get-file-names/ta-p/...