cancel
Showing results for 
Search instead for 
Did you mean: 
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
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.