Etape 1 : Chargement initial (onglet 1)
nourriture:
LOAD id,
[Food Cat],
[Food item],
location,
date(lastupdate) as lastupdate
FROM
[C:\Users\EXODATA\Desktop\exemple.xls]
(biff, embedded labels, table is Feuil1$);
store nourriture into ‘nourriture.qvd’ (qvd);
// date max , (onglet 2) etape 2
max:
LOAD
lastupdate
FROM
[C:\Users\EXODATA\Desktop\nourriture.qvd]
(qvd);
Last_Update_Date:
load max(date(lastupdate)) as MaxDate
resident max;
let Last_Update_Date = peek(‘MaxDate’,0,’Last_Update_Date’);
//ETAPE 3
incremental: //nourriture:
LOAD id,
[Food Cat],
[Food item],
location,
date(lastupdate) as lastupdate
FROM
[C:\Users\EXODATA\Desktop\exemple.xls]
(biff, embedded labels, table is Feuil1$)
WHERE lastupdate >= ‘$(Last_Update_Date)’
;
Concatenate
LOAD id,
[Food Cat],
[Food item],
location,
lastupdate
FROM
[C:\Users\EXODATA\Desktop\nourriture.qvd]
(qvd)
where not Exists(id)
;
store incremental into ‘nourriture.qvd’ (qvd);



![[PowerBI] – Créer une carte visuelle dynamique Création d'une carte dynamique](https://i1.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/03/powerbi-carte-dynamique-1.gif?resize=100%2C70)
![[PowerBI] – Comment ajouter une description aux graphiques ? Description des graphiques](https://i2.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/03/PowerBI-Infobulle-description.png?resize=218%2C150)


![[PowerBI][DAX] – Comment compter le nombre de ligne d’une table ?](https://i2.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/01/powerbi-dax-countrows-logo-1.png?resize=100%2C70)