Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

vikramqlik9
New Contributor

How to create QVD's through variable ?

How to create QVD's through variable ?

please call me or whats app on 91958181000

2 Replies
felipedl
Valued Contributor III

Re: How to create QVD's through variable ?

Vikram,

can you give more details on what you need?

Do you need to store a QVD with a specific name based on a varialbe?

If you need something like this, you can use $ (dollar) expansion, like below:

set vName = Test;

tmp:

Load

     'A' as Test

Autogenerate(1);

store tmp into $(vName).qvd (qvd);

This will store a QVD named Test.qvd into the same folder where you save the QVW with the above code.

Most operations will use the $ expansion when you need to get values from a variable.

Khan_Mohammed
Honored Contributor II

Re: How to create QVD's through variable ?

SET run_path = '..\qvd\';

after you load the data

STORE XYZ_TABLE into $(run_path)XYZ_TABLE.qvd (qvd);

.. can be tricky. single . means 1 folder up, .. would mean 2 folder up

and ..\qvd\ would be your store location in script

Community Browser