Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
LINKEDIN LIVE: Democratizing data to enhance customer-centricity. JULY 29TH REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
evgeniystuchalk
Partner
Partner

Store variables to QVD

Hello! I want to save some logs about load script. All information accumulated in variables. After script execution i want save this variables in qvd.

For first load, i whrite this:

UpdateLog:

load

now() as UpdateStart,

now()-$(vStart) as amoUpdateTime,

$(vCompleteReload) as ReloadMode;

store notes into [Lib://QVD (win-lng2sl4osbd_qlik.acc)/amoCRM/amoUpdateLog.qvd] (qvd);

but its don work. what to do?

1 Solution

Accepted Solutions
danansell42
Creator III
Creator III

Maybe because there is no 'FROM' statement

Try adding AutoGenerate 1 at end of statement.

UpdateLog:

load

now() as UpdateStart,

now()-$(vStart) as amoUpdateTime,

$(vCompleteReload) as ReloadMode

AutoGenerate 1;

store UpdateLog into [Lib://QVD (win-lng2sl4osbd_qlik.acc)/amoCRM/amoUpdateLog.qvd] (qvd);

View solution in original post

3 Replies
danansell42
Creator III
Creator III

At what point does it fail?

I notice you have said "store notes" whereas the table name appears to be UpdateLog

Maybe this is the problem?

evgeniystuchalk
Partner
Partner
Author

I have noticed that im trying save wrong table. But "store notes" is not a reason. Debugger stops here:

0444e2bef5.jpg

danansell42
Creator III
Creator III

Maybe because there is no 'FROM' statement

Try adding AutoGenerate 1 at end of statement.

UpdateLog:

load

now() as UpdateStart,

now()-$(vStart) as amoUpdateTime,

$(vCompleteReload) as ReloadMode

AutoGenerate 1;

store UpdateLog into [Lib://QVD (win-lng2sl4osbd_qlik.acc)/amoCRM/amoUpdateLog.qvd] (qvd);

View solution in original post