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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Incremental load

Hi,all i want to increment the data to my QVD based on updated data ,it means new records will join to old ,

here based on Value_date i want to upload but problem is some record are missing when i create QVD ,now am uploading that missing record that are same Value_date ,can any one give simple script for this,

this is my Script

LOAD

    Txn_Date,

     Value_Date,

     Description,

     ChequeNo,

     Year(Value_Date) as Used_year,

     Month(Value_Date) as Used_month,

     Day(Value_Date) as Used_day,

     Debit,

     Credit,

     Balance

FROM

[..\Data\Qvd\sbi.qvd]

(qvd);

1 Reply
its_anandrjs
Champion III
Champion III

Create a Max date variable like and then use it for incremental load for updated records in the database

LET vMaxDate = Peek('Value_Date',-1,'YourTableName');

YourTableName:

LOAD

    Txn_Date,

    Value_Date,

    Description,

    ChequeNo,

    Year(Value_Date) as Used_year,

    Month(Value_Date) as Used_month,

    Day(Value_Date) as Used_day,

    Debit,

    Credit,

    Balance

FROM

[..\Data\Qvd\sbi.qvd] (qvd);

Left Join

LOAD

    Txn_Date,

    Value_Date,

    Description,

    ChequeNo,

    Year(Value_Date) as Used_year,

    Month(Value_Date) as Used_month,

    Day(Value_Date) as Used_day,

    Debit,

    Credit,

    Balance

FROM

[Source Data] Where Num(Value_Date) > $(vMaxDate);