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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
robarivas
Post Patron
Post Patron

Incremental Refresh Woes

I have a .pbix file that has around 15 tables that are sourced from different Dataflows. And I have one table (largest in the model) that can be sourced from either SQL Server or Oracle (not from a dataflow). I desire to set up incremental refresh on it (scheduled to refresh daily). And I want an incremental refresh policy of 13 months of history plus refresh any of those months where the last update field has a new date. So I'm using the Detect Data Changes option (see screenshot below). I made sure the query on that table has query folding. When I set the file up this way and publish to the service the SQL version times out on the initial load after 5 hours. Don't know why because the query on that table is very simple and has query folding. However, on the Oracle version the initial refresh worked (took almost 3.5 hours). But on the subsequent (second) refresh it took LONGER than the initial refresh...a little over 4 hours!! I thought the whole point of incremental refresh was that subsequent refreshes were supposed to be fast or at least quicker than the initial refresh. What in the world could be causing the second refresh to perform worse than the initial?Capture.PNG

 

 

1 ACCEPTED SOLUTION

Hello @v-yingjl . It turns out that the nature of this data is such that at least 1 row from virtually all historical partitions gets updated each day (thereby causing all partions--the whole data table--to be refreshed each day). In addition, the field I was using for Detect Data Changes was not indexed. Those 2 factors amounted to combo knockout punch, so to speak. So I've stopped using Detect Data Changes for now until the DBAs can add the correct update field and index it. That will at least address 1 of the 2 factors; can't do much about so much of the past getting updated everyday. If that's not enough then I will just abandon the Detect Data Changes option and possibly even IR altogether.

View solution in original post

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @robarivas ,


If you've fixed the issue on your own please kindly share your solution. If the above posts help, please kindly mark it as a solution to help others find it more quickly. Thanks!

 

Best Regards,
Yingjie Li

Hello @v-yingjl . It turns out that the nature of this data is such that at least 1 row from virtually all historical partitions gets updated each day (thereby causing all partions--the whole data table--to be refreshed each day). In addition, the field I was using for Detect Data Changes was not indexed. Those 2 factors amounted to combo knockout punch, so to speak. So I've stopped using Detect Data Changes for now until the DBAs can add the correct update field and index it. That will at least address 1 of the 2 factors; can't do much about so much of the past getting updated everyday. If that's not enough then I will just abandon the Detect Data Changes option and possibly even IR altogether.

v-yingjl
Community Support
Community Support

Hi @robarivas ,

  1. When you configure incremental refresh and publish the report to power bi service, you can now refresh the model. The first refresh may take longer to import the historical data. Subsequent refreshes can be much quicker because they use incremental refresh. Please refer this article: Ensuring-your-power-bi-incremental-refresh-does-not-timeout 
  2. The troubleshooting refresh article explains that refresh operations in the Power BI service are subject to timeouts. Queries can also be limited by the default timeout for the data source. Please refer this microsoft document: Incremental refresh timeout 
  3. If the refresh timeouts, please consider breaking the dataset into smaller pieces.

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors