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

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

Folder Paths using Variables

Hi All

We have just upgraded to the new QV 11 and server.

I am having an issue with one model that is failing on the new server due to new folder structure and server name.

Path on Old Sever: \\ba-batqlv001\d$\QlikViewDataModels\VIPRestrictedModels\VIPQVD\

The same folder path on our new server is as follows:

Server Name: BATJHBQLDZWN001

Folder path: D:\QlikView\QVDeploy\VIPRestrictedModels

How can I change the variable with the new path successfully?

1 Solution

Accepted Solutions
nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi ,

try this >>>>

Ex :

LET vPath='C:\Users\Nagarjuna\Downloads';

LOAD PK_TRANSACTION,

     [Trans Start DateTime],

     [Trans End DateTime]

FROM

[$(vPath)\Transactions.xlsx]

(ooxml, embedded labels, table is trans);

Let me know If it works or not....

Regards,

Nagarjuna

View solution in original post

6 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

\\BATJHBQLDZWN001\d$\QlikView\QVDeploy\VIPRestrictedModels\


Regards,

Jagan.

Not applicable
Author

Hi Jagan

I have tried that and it fails.

Cannot open file '\\BATJHBQLDZWN001\d$\QlikView\QVDeploy\VIPRestrictedModels\VIPQVD\

VIP_LEAVE.QVD' The filename, directory name, or volume label syntax is incorrect.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Check whether you have access to this path?

OR

share the Qlikview drive in that machine and use the below path

\\BATJHBQLDZWN001\QlikView\QVDeploy\VIPRestrictedModels\


Regards,

jagan.

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi ,

try this >>>>

Ex :

LET vPath='C:\Users\Nagarjuna\Downloads';

LOAD PK_TRANSACTION,

     [Trans Start DateTime],

     [Trans End DateTime]

FROM

[$(vPath)\Transactions.xlsx]

(ooxml, embedded labels, table is trans);

Let me know If it works or not....

Regards,

Nagarjuna

Not applicable
Author

Thanks! this worked

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II