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
lorenzoglima
Regular Visitor

Incremental Refresh Power BI

Well, I'm doing a project in Power BI, having been asked to do an incremental refresh of the latest data, without a delimited time, but the data that is not in the Power BI Table was fetched and thus incremented in the table.

 

I tried to do this through the Power BI' own resource, and realized that this way it could not be done, just delimiting a time for data search, 15 days before, for example. So I'm trying to do this via SQL.

 

Then the problem starts, even if I try to do this incremental update, the new data is loaded but the previous ones are lost, or erased. I think it's possible to do functions like UPDATE, INSERT AND DELETE, but I'm having some problems. Can someone help me? I can go into more details, if this become necessary.

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Power BI is a "read only" system so it doesn't have the ability to store data beyond a refresh. 

You will either have to modify the source system (you said not an option), or put in an intermediate process in place to store a previous day snapshot of data.

See if the blog will help you:

https://visualbi.com/blogs/microsoft/powerbi/historical-data-preservation-using-power-bi-dataflow/ 

View solution in original post

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Power BI is a "read only" system so it doesn't have the ability to store data beyond a refresh. 

You will either have to modify the source system (you said not an option), or put in an intermediate process in place to store a previous day snapshot of data.

See if the blog will help you:

https://visualbi.com/blogs/microsoft/powerbi/historical-data-preservation-using-power-bi-dataflow/ 

lbendlin
Super User
Super User

@lorenzoglima To do incremental refresh in Power BI you must have a suitable DateTime column either in your data itself (for example "Order Date") or in the source files (in case you receive daily CSV files with the data).  If your column is not in DateTime then you must convert it.  For example if all you have is a date then you need to pick a time (usually midnight).

 

for example: From "2021-08-20" to "2021-08-20T00:00:00.0" 

 

Once you have that you can proceed to create your parameters (RangeStart and RangeEnd) and apply them as filter to your data source etc.

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.