Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone
I'm using Qlik Sense since 3 months and i'm new using BI tools.
In this moment im trying to use the incremental Loads but for some reason doesn't work.
In theory the incremental load need to work by dates (Fecha column) for identify the last load but when i make the conditional
WHERE Fecha > $(vUltimaCarga);
Doesn't works the script load all the information from the .xlsx fiel
I post my script and the excel
Thanks!
Hi,
Unable to download Script file so please can you attach it again.
Thanks,
Mukram
You didn't say what the value of vUltimaCarga is, so here is a guess:
WHERE Fecha > '$(vUltimaCarga)';
try this
WHERE Fecha > '$(vUltimaCarga)';
I do the change but is the same problem, it concatenate the new data but with the condition of the id no from the date's row
Hi,
Can you check the below Script:
Temp:
LOAD
Max(Fecha) as LastModificationDate
FROM
(qvd);
LET LastModificationDate=Date(Peek('LastModificationDate',0,'Temp'));
DROP Table Temp;
Data:
LOAD id,
first_name,
last_name,
email,
gender,
ip_address,
Fecha
FROM
(ooxml, embedded labels, table is data)
Where Date(Fecha)>'$(LastModificationDate)';
Concatenate
LOAD id,
first_name,
last_name,
email,
gender,
ip_address,
Fecha
FROM
(ooxml, embedded labels, table is data)
Where NOT Exists(id);
STORE Data into D:\QVW Files\qvds\Data.Qvd(qvd);
What is the contents of vUltimaCarga) and what kind of data is in Fecha?
Fecha are dates and the variable vUltimaCarga is the number that the function peek send