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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Relative Path in LOAD statement

How to specify in a LOAD statement, the relative path to an EXCEL file?

2 Replies
Miguel_Angel_Baeyens

Hello Yimen,

One way is doing the following

Directory C:\Level1\Level2; // at the beginning of the script LOAD * FROM ..\..\test.txt; // relative to the Directory set above


Although I always prefer to create variables with paths, then use them in the load statement.

SET vPath = 'c:\Level1\Level2'; LOAD * FROM $(vPath)\test.txt;


Regards.

Not applicable
Author

Hi Yimen,

You just need to check the Relative Path option in the ETL.

Regards,

Raj