Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Anonymous
Not applicable

Incremental refresh - changes in old data

Hello,


I plan to configure incremental refresh.

Suppose we have data from 2015-2020. In addition, we have 2 columns - extraction date (update date) and sale date. We want to refresh data that has been extracted (updated) in the last 30 days.

What happens if we make some changes to the data from 2018 (The update date will change to the current date)?
Will PowerBI delete old lines and replace them with new lines? Will the rows be duplicated and will I need to detect changes and manually remove the duplicate rows?


Thank you in advance,

Jagoda

1 ACCEPTED SOLUTION
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my understand, if we set store rows for where "extraction date" is in the last 5 years and refresh rows  where "extraction date" is in the last 30 days, then the refresh start at 2020-03-14 06:00:00 AM, it will refresh the rows where "extraction date" is between 2020-02-13 06:00:00 AM and 2020-03-14 06:00:00 AM, and all the rows where "extraction date" is between 2015-03-14 06:00:00 AM and between 2020-02-13 06:00:00 AM will keep as the same, and then the rows where "extraction date" is earlier than the 2020-02-13 06:00:00 AM will be dropped. 

 

So In your scenario, if the data in 2018 changed to earlier than 2020-02-13 06:00:00 AM,those rows will not change and keep as old if the refresh range is only set as 30 days. If it change to 2020-03-12 08:00:00, Based on our test, it will keep the old row and add a new rows: 

 

1.jpg2.jpg3.jpg

 

Please refer to following document about more information of Incremental Refresh:

https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh#configure-incremental-refresh

https://docs.microsoft.com/en-us/power-bi/service-dataflows-incremental-refresh#incremental-refresh-implementation-details


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my understand, if we set store rows for where "extraction date" is in the last 5 years and refresh rows  where "extraction date" is in the last 30 days, then the refresh start at 2020-03-14 06:00:00 AM, it will refresh the rows where "extraction date" is between 2020-02-13 06:00:00 AM and 2020-03-14 06:00:00 AM, and all the rows where "extraction date" is between 2015-03-14 06:00:00 AM and between 2020-02-13 06:00:00 AM will keep as the same, and then the rows where "extraction date" is earlier than the 2020-02-13 06:00:00 AM will be dropped. 

 

So In your scenario, if the data in 2018 changed to earlier than 2020-02-13 06:00:00 AM,those rows will not change and keep as old if the refresh range is only set as 30 days. If it change to 2020-03-12 08:00:00, Based on our test, it will keep the old row and add a new rows: 

 

1.jpg2.jpg3.jpg

 

Please refer to following document about more information of Incremental Refresh:

https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh#configure-incremental-refresh

https://docs.microsoft.com/en-us/power-bi/service-dataflows-incremental-refresh#incremental-refresh-implementation-details


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

is there a way to prevent duplication of records, and just update the "old" record with the"new" one? without having to refresh on the entire period of 5 years? 

Does anyone have a proposal how to solve this? We have exactly the same issue.

GilbertQ
Super User
Super User

Hi there

if you use the detect data changes and put it on your Extraction Date Column when the incremental refresh happens it will remove those old rows and insert the new rows based on the date.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Since the underlying technology is SSAS, can this be done in SSAS or AS models too? 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors