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
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
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.