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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loading data from multiple paths


Hi all,

i need to load data from multiple file placed in multiple paths.how i can acheive this through single FROM statement.

EX:

load * from

thanks in advance..

14 Replies
Not applicable
Author

Hi jagan,

i cannot create multiple concatenate,bcoz the total actual  files are 17.

Not applicable
Author

can u pls tell what i need to specify in =$(vPathFile)]; and SQLCOLUMNS;

Not applicable
Author

hi ,

can any one tell me some solution

tresesco
MVP
MVP

Sorry, a recursive call would be required. Try like:

SUB FindSubDir (Path)

     FOR Each File in filelist (Path&'\*.csv')

          LOAD
                *

           From [$(File)] (txt, codepage is 1252, embedded labels, delimiter is '\t', msq) ;

     NEXT File

     FOR Each Dir in dirlist (Path&'\*' )

          call FindSubDir(Dir)

     NEXT Dir

ENDSUB

CALL  FindSubDir('D:\Exchange \')

Not applicable
Author


Hi,

is any thing else i need to declare in script?

i mean i need to write like

let  path=...?