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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vireshkolagimat
Creator III
Creator III

use loop to perform incremental load

Hi All,

I have sales information as per the attachment. I need to get the latest InvDate for each store and then do the incremental load.

Kindly have a look at the file and suggest me how can we achieve using loops.

Regards,

Viresh

1 Reply
Anil_Babu_Samineni

Try this first and for increment load we have same future called DML in sql with Qlik

Sample:

LOAD InvDate,

     store,

     InvAmt,

     discount

FROM

[loop demo.xlsx]

(ooxml, embedded labels, table is Sheet1);

Right Join (Sample)

LOAD store, Max(InvDate) as InvDate Resident Sample Group By store;

For Incremental Load, Link below (Not sure which load you are going to have - May be business needed)

https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful