Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

Incremental Load

Hi,

I just tunned a file to do an incremental load from a Analytics excel.

The problem is in the incremental Load script tab. As all the Analytics info has no key field, I would like to load the present day and present day - 1 info, just to have all the date up to date.

Any body can help to me with the script?

Many thank's

Eduard

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Something like this:

// Load recent data

Data:

LOAD ....

FROM ...xlsx (ooxml, ...)

Where Date = Today() Or Date = Today() - 1;

// Load past data from qvd

LOAD *

FROM .......qvd (qvd)

Where Date < Today() - 1;

// Update qvd

STORE Data Into .....qvd (qvd);

(Change the date field to the appropriate field name, and make sure that the date field is loaded as a proper Qlikview date and not as a string)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
Not applicable

According to date u can add new data to the existing Qvd

first u have convert the date formate

let vupdatedate = peek('Anal_date)', -1, 'table name');

where Anal_date >= $(vupdatedate);

jonathandienst
Partner - Champion III
Partner - Champion III

Something like this:

// Load recent data

Data:

LOAD ....

FROM ...xlsx (ooxml, ...)

Where Date = Today() Or Date = Today() - 1;

// Load past data from qvd

LOAD *

FROM .......qvd (qvd)

Where Date < Today() - 1;

// Update qvd

STORE Data Into .....qvd (qvd);

(Change the date field to the appropriate field name, and make sure that the date field is loaded as a proper Qlikview date and not as a string)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein