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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
kushalthakral
Creator III
Creator III

How to add New Data into Stored QVD's

Hi all

i am using script like

Tab:

Load

A,

B,

C,

D,

Month(Today()) as Month,

Year(Today()) as Year;

Store * from Tab into Tab.qvd;

drop Table Tab;

Now every month i want to run this script but do not overwrite the existing data but to append in the old data

How to achieve this.

Thanks

Kushal

1 Solution

Accepted Solutions
Not applicable

Tab:

load

*

from [Tab.qvd.]

concatenate

Load

A,

B,

C,

D,

Month(Today()) as Month,

Year(Today()) as Year;

Store * from Tab

View solution in original post

9 Replies
MK_QSL
MVP
MVP

Do Incremental Load...

Search on this community, you will find 100's of questions-answers.

its_anandrjs
Champion III
Champion III

Use Incremental load with the RowNo() function for the appending to old data and do follow incremental loads manuals for incremental loads.

kushalthakral
Creator III
Creator III
Author

Hi all

Can you please share script for the same.

As i have never done incremental before.

Thanks

Kushal

Not applicable

Tab:

load

*

from [Tab.qvd.]

concatenate

Load

A,

B,

C,

D,

Month(Today()) as Month,

Year(Today()) as Year;

Store * from Tab

Anonymous
Not applicable

If you want add any new data to already existed old QVD created before ,for that u have to do INCREMENTAL LODE(it will added new data to the old existed Qvd) and it wnt effect the data while loding also but we have to fallow some rules to do incremental lode

its_anandrjs
Champion III
Champion III

Follow this documents

Re: Incremental load for Updation

Anonymous
Not applicable

If you want to load all of A, B, C etc every time and append it, do as Magdalena said. If you want only new/changed records appended, search incremental load. Not clear from your post what result you actually want to achieve.

its_anandrjs
Champion III
Champion III

Look small example

TableA:

LOAD RowNo() AS rid,ColA;

LOAD * Inline

[

ColA

A

B

C

D

];

STORE TableA into TableA.qvd;

DROP Table TableA;

NoConcatenate

TableA:

LOAD rid,

     ColA

FROM

A.qvd

(qvd);

Concatenate

LOAD RowNo() AS rid,ColA;

LOAD * Inline

[

ColA

A

B

C

D

];

STORE TableA into TableA.qvd;

You can use Where Exits functions also.

kushalthakral
Creator III
Creator III
Author

Thank you All

Regards

Kushal Thakral