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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Incremental load-monthly

Hi,

I am aware of incremental load on daily basis but how to implement if data load frequency is on monthly based.

Labels (1)
5 Replies
Not applicable
Author

Hi,

You want to schedule it on monthly basis, with the incremental logic you have.

Regards

Not applicable
Author

post a sample script of yours

gouthamkk
Creator
Creator

Use a condition something like this in to call sub which loads the data

if (max(monthname) > Monthname(Monthname(today())-1), callSub())

Not applicable
Author

Please find below sample script

Incremental:

LOAD
Region,
ID,
Product,
Sales,
Modified_Date
FROM
Sales.xlsx (ooxml,embedded labels,table is Sheet1) where Modified_Date>$(Last_Updated_Date);

//Concatenate with QVD
Concatenate
LOAD Region,
ID,
Product,
Sales,
Modified_Date
FROM Sales.qvd(qvd) where not Exists(ID);

//Replace Old QVD file
Store Incremental into Sales.qvd(qvd);

//Drop Incremental Table

Drop table Incremental;

settu_periasamy
Master III
Master III

Hi,

Instead of modified date, try with month (use the monthname function will give month and year )