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: 
Not applicable

Path as Variable

Hi All,

I am using this statement to load data from a QVD.Is there any possibility to store the path:

c:\HummingBird\...............\Complex_QVD's\  in a variable and then call it in below statement?

Issue.jpg

7 Replies
Not applicable
Author

HI Poornima,

  Yes it is possible

use set function & Create Variable

Set Mypath=c:\HummingBird\...............\Complex_QVD's\

Then you can use

Load *

$(Mypath)FACT_WELLNESSMEMBERS.qvd;

Hope this is velpful for you

v_iyyappan
Specialist
Specialist

Hi

Set the QVD path like this

SET  QvdPath = '..\QVDs\';

Test:

Load

     *

From

$(QvdPath)Test.qvd

Note : you qvw file are in same location.

Regards,

vikasmahajan

STORE

DocumentPath() IN VARIABLE

vIKAS

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable
Author

SET vFolderSourceFile = 'C:\Hummingbird\CustomerReporting\0_QVD_Generators\Complex_QVDs\';

[Table1]:

LOAD      ........

               .......

FROM  '$(vFolderSourceFile)FACT_WELLNESSMEMBERS.qvd'

Anonymous
Not applicable
Author

Yes.

you can write before your load:

Set vPath="c:\HummingBird\...............\Complex_QVD's\ ";

and  then replace:

FROM $(vPath)&yourfilename.qvd (qvd);

I hope to help you.

Regards

tresesco
MVP
MVP

Try like:

SET QVPath=C:\Users\....\QV;

Load * From $(QVPath)\ABC.qvd(qvd);

Andrea_Ghirardello

set YourVariableName = 'C:\YourPath\';

Load

     field1,

     field2

from $(YourVariableName)YourQvd.qvd (qvd);