Partial Reload in Qlikview

Partial Reload

Add: The add prefix can be added to any Load, Select or Map ... using statement in the script. It is only relevant during partial reloads. During a partial reload the QlikView table, for which a table name is generated by the add load /add select statement (provided such a table exists), will be appended with the result of the add load/add select statement. No check for duplicates is performed.

Therefore, a statement using the add prefix will normally include either a distinct qualifier or a where clause guarding duplicates. The map...using statement causes mapping to take place also during partial script execution.

Only is an optional qualifier denoting that the statement should be disregarded during normal (non- partial) reloads.

Ex:

Tab1:

LOAD Name, Number FROM Persons.csv;

ADD LOAD Name, Number FROM new Persons.csv;

During normal reload, data is loaded from Persons.csv and stored in the QlikView table

Tab1. Data from

New Persons.csv is then concatenated to the same QlikView table.

During partial reload, data is loaded from New Persons.csv and appended to the QlikView table Tab1. No check for duplicates is made.

Tab1:

LOAD Name, Number FROM Persons.csv;

ADD LOAD Name, Number FROM NewPersons.csv Where not exists(Name);

A check for duplicates is made by means of looking if Name exists in the previously loaded

table data.

During normal reload, data is loaded from Persons.csv and stored in the QlikView table Tab1. Data from New Persons.csv is then concatenated to the same .

During partial reload, data is loaded from New Persons.csv which is appended to the QlikView table Tab1. A check for duplicates is made by means of seeing if Name exists in the previously loaded table data.

Tab1:

LOAD Name, Number FROM Persons.csv;

ADD ONLY LOAD Name, Number FROM New Persons.csv Where not exists(Name);

During normal reload, data is loaded from Persons.csv and stored in the QlikView table Tab1. The statement loading New Persons.csv is disregarded.

During partial reload, data is loaded from New Persons.csv which is appended to the QlikView table Tab1. A check for duplicates is made by means of seeing if Name exists in the previously loaded table data.