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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sunitha_chellaiah
Partner - Creator
Partner - Creator

Extract and Append Data Using Macros in Qlikview

Hi All,

I want to extract straight table data in Excel file using Macros in QlikView. And On daily refresh, data should get append to previously extracted excel file.

Please help me on this Macro scripting.

Thanks.

1 Reply
Frank_Hartmann
Master II
Master II

You can achieve the same by using incremental load in script. there is no need for using a macro.

Your script should look like this:

Historical_Data:
LOAD 
....
FROM
[historical.qvd]
(qvd);

concatenate

Actual_Data:
LOAD 
.......
FROM ....

store Historical_Data into historical.qvd (qvd);

 

initially you need to generate the historical qvd. and afterwards you can use the above mentioned script syntax.