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

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

Incremental Load based on file name containing a date

hi,

Anyone has a quick script to do incremental load based on file names where the file names have dates in it.

Example of files names:

2015-10-01-MainSales..xlsx

2015-10-02-MainSales..xlsx

2015-10-03-MainSales..xlsx

Thxs,

Alec

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

Your dates from the filename could you extract with filebasename, maybe like:

date(date#(left(filebasename(), 10), 'YYYY-MM-DD'), 'YYYY-MM-DD')

and various examples and explanations to incemental loads will you find here:

Incremental Load

Incremental Load Scenarios

CRUDhelper framework - Incremental loads with ease

- Marcus

View solution in original post

2 Replies
marcus_sommer
MVP
MVP

Your dates from the filename could you extract with filebasename, maybe like:

date(date#(left(filebasename(), 10), 'YYYY-MM-DD'), 'YYYY-MM-DD')

and various examples and explanations to incemental loads will you find here:

Incremental Load

Incremental Load Scenarios

CRUDhelper framework - Incremental loads with ease

- Marcus

alec1982
Specialist II
Specialist II
Author

thank you Marcus..