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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Question about QV 11 Script

I have a QVW file in a folder and QVD file in another folder, I need to put it into a virtual table TableTest: But I need to put the function Directory; before making the charge, but is giving error, can anyone help me?

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

You may not need a Directory statement. By default, the base directory is the folder containg the qvw file. If the QVD is in the same path, but a different folder, load the qvd using a relative path, something like this

     LOAD ...

     FROM [..\QvdFiles\MyData.qvd] (qvd)

You can also use an absolute path

     LOAD ...

     FROM [\\myserver\QvdFiles\MyData.qvd] (qvd);

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
Siva_Sankar
Master II
Master II

I guess you're trying to organize the folder. If so, please check on the link below and it will help. http://community.qlik.com/message/52528#52528 Regards. Siva sankar

azimabadi
Creator III
Creator III

Hi Gabriel,

Can you please give more explanetion about problem? and if possible please attach your sample qwv.

Best Regards

Peyman

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

You may not need a Directory statement. By default, the base directory is the folder containg the qvw file. If the QVD is in the same path, but a different folder, load the qvd using a relative path, something like this

     LOAD ...

     FROM [..\QvdFiles\MyData.qvd] (qvd)

You can also use an absolute path

     LOAD ...

     FROM [\\myserver\QvdFiles\MyData.qvd] (qvd);

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein