Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
HWallays
Contributor III
Contributor III

Setting up a default directory for Qlikview - data import

Is it possible to define a directory path in the Qlikview import script where it needs to read the data ?

I currently have (1) the data and the dashboard in the same directory or (2) I access them via a concrete / long directory path. I would like to setup a framework where dashboard and data are seperated and where in the script I could define a default directory where the data should be read ( a bit like the "libname" definition in the SAS programming).

Does this exist in Qlikview ?

 

Labels (3)
1 Solution

Accepted Solutions
Qlik1_User1
Specialist
Specialist

Yes its possible, you can have dashboard in other directory and data files /qvd in other directory.

you can define the variables and in those variables mention the path of qvd's where they are stored.

like

// setting qvd path in variable

 SET v_QVDPath = 'C:\folder1\A\d';

//reading data from qvd path

 

LOAD *
From [$(v_QVDPath)/Test.qvd] (qvd);

 

You can google it more details will be available in detail..

 

View solution in original post

2 Replies
Qlik1_User1
Specialist
Specialist

Yes its possible, you can have dashboard in other directory and data files /qvd in other directory.

you can define the variables and in those variables mention the path of qvd's where they are stored.

like

// setting qvd path in variable

 SET v_QVDPath = 'C:\folder1\A\d';

//reading data from qvd path

 

LOAD *
From [$(v_QVDPath)/Test.qvd] (qvd);

 

You can google it more details will be available in detail..

 

HWallays
Contributor III
Contributor III
Author

Many thanks , this looks like the most versatile option , offering me even to define different default directories instead of having it all in one (QVD and data ) . Thanks …