Forum Discussion
Json Incremental Refresh
- BigLo4 years agoHelper III
Thanks for your support.
I set up my incremental refresh this way.
I'm using 'RangeStart' as a parameter for my web service request to not load full data (json). I can consider that they are in the archive partition of my dataset (on the service).my table
my incremental refresh policy is 1 year of archived data, 3 days of refreshed data.
I understand that for my incremental refresh, Power BI will delete all data whose 'LASTMODIFICATION' date is less than -1 year and greater than -3 days. Append the data from my json whose 'LASTMODIFICATION' date is greater than -3 days.
But if I modified a record who are already in the archive but before the RangeStart?My PowerBI dataset on 2022-06-23 00:00:00
ID RECORDLINK DATE WORKHOUR LASTMODIFICATION 1 252654 20-06-2022 6 20-06-2022 07:06 2 264864 11-06-2022 7 11-06-2022 09:45 3 1515496 22-06-2022 2,5 22-06-2022 17:06 The record I want to refresh
ID RECORDLINK DATE WORKHOUR LASTMODIFICATION 2 264864 11-06-2022 7,5 23-06-2022 09:45 What will happen? my record with ID = 2 in the archive is before the RangeStart of incremental Refresh.
PowerBI duplicate this record?
- lbendlin4 years agoSuper User
Yes. Keep in mind this is incremental refresh, not differential refresh. It is your responsibility to select a refresh range that is big enough to cover such a scenario. Three days is too short.
Learn about refreshing individual partitions.
- BigLo4 years agoHelper III
I understand.
But even if I do a refresh over a year, I could never guarantee that my data is perfect.
I take my previous example. If I sort my data by modification date and remove duplicates (step after the custom filter on RangeStart/RangeEnd in my query). Can this work?