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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
rathnam_qv
Creator
Creator

getting new data when reloading

hi all,

is there any way to get newly added data with old data from qvd when we are using button with reload actions...can any one help me urgent

2 Replies
michael_maeuser
Partner Ambassador
Partner Ambassador

you can do an incremental load. s.th. like that

TestTable:

LOAD

Key,

A,

B,

C;

FROM

\QVD\Test.qvd

(qvd);

UNQUALIFY *;

//Get latest value from QVD

TEMP:

LOAD Max(Key) as MaxKey

RESIDENT TestTable;

LET vExample=peek('Max%Key',-1,'KeyTEMP');

drop Table TEMP;

//Add new values

Concatenate (TestTable)

Entries:

LOAD

Key,

A,

B,

C;

SQL SELECT *

FROM "$(Database)".dbo."$(Company)$Entries"

WITH (NOLOCK)

WHERE "Key" > $(vExample)

;

techvarun
Specialist II
Specialist II

Pls Do Incremental LOAD

Regards