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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
samihuq
Helper III
Helper III

Incremental Load Data for Last N Days

Hi,

We are making a daily report a SQL Server database that stores 10 years of data.

 

Now, rather than bringing all the data, we wish to limit the data import to running last 60 days every day deleting the previous days to keep the file size small.

 

Can this be done?

 

Thanks,

Sami

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Create a View or stored procedure on the SQL side and have Power BI call that instead.

 

Alternatively you can put into an SQL statement date constraints and have Power BI only ever grab that 60 days.

 

If you have premium there is also something called Incremental Refresh, which may also provide you an avenue to persue:

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

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Create a View or stored procedure on the SQL side and have Power BI call that instead.

 

Alternatively you can put into an SQL statement date constraints and have Power BI only ever grab that 60 days.

 

If you have premium there is also something called Incremental Refresh, which may also provide you an avenue to persue:

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.