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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
DataSundowner
Helper II
Helper II

Dataflow Incremental Refresh

Hi, I have a question on dataflow incremental refresh. If I'm pulling the data from SQL Server using a query, does it still run the full SQL query first before implementing incremental refresh policy? Or does it implement incremental refresh policy in the SQL query? For example, if I have a query such as "SELECT * FROM sales WHERE saledate >='2023-01-01'" and a incremental refresh policy such as "store rows from past 1 year, and refresh rows from past 5 days". How would this execute behind the scence? Does it run the query with everything >= 2023-01-01 first and then apply the refresh policy? If that's the case, what the point of incremental refresh? I must be missing something. Any insights would be appreciated. 

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

Hi @DataSundowner 

 

According to my understanding, Power BI will load the data that satisfies the SELECT * FROM sales WHERE saledate >='2023-01-01 statement into Power BI. When using incremental refresh, the service will dynamically partition the data and create incremental refresh partitions and historical partitions. In each subsequent refresh, the rows whose date/time is within the refresh cycle will be refreshed. The rows whose date/time is no longer within the refresh cycle will become part of the historical cycle and will not be refreshed again.

 

Best Regards,
Yulia Xu

 

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

2 REPLIES 2
v-xuxinyi-msft
Community Support
Community Support

Hi @DataSundowner 

 

According to my understanding, Power BI will load the data that satisfies the SELECT * FROM sales WHERE saledate >='2023-01-01 statement into Power BI. When using incremental refresh, the service will dynamically partition the data and create incremental refresh partitions and historical partitions. In each subsequent refresh, the rows whose date/time is within the refresh cycle will be refreshed. The rows whose date/time is no longer within the refresh cycle will become part of the historical cycle and will not be refreshed again.

 

Best Regards,
Yulia Xu

 

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

Hi Yulia - Thank you for the information. That's very helpful to know. 

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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