Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to store QVD into path set by variable

I'm trying to store a QVD into a file path set by a variable. Here is what I have so far:

In the include file- Set vQVDPath_ExchangeRate= "(private path)\Exchange Rates.qvd";

In the script- $(Include=..\InputFiles\vQVDPath_ExchangeRate);

Then I try to store the QVD like so: STORE [Exchange Rate] INTO vQVDPath_ExchangeRate (qvd);

This doesn't work. What am I doing wrong?

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

You need to expand the variable, looking like this

STORE [Exchange Rate] INTO [$(vQVDPath_ExchangeRate)] (qvd);

If you want to see the contents of the variable, either debug instead of run from the script editor, and you can set a break point on the SET instrucion or the $(Include=) and see whether the value is properly populated

View solution in original post

2 Replies
Miguel_Angel_Baeyens

You need to expand the variable, looking like this

STORE [Exchange Rate] INTO [$(vQVDPath_ExchangeRate)] (qvd);

If you want to see the contents of the variable, either debug instead of run from the script editor, and you can set a break point on the SET instrucion or the $(Include=) and see whether the value is properly populated

sunny_talwar

May be try this

STORE [Exchange Rate] INTO '$(vQVDPath_ExchangeRate)' (qvd);