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
Alkhos
Advocate I
Advocate I

Question Regarding Data Refresh Frequency and History

Hello,

I have two questions regarding data refresh in PBI.

I am using PBI pro and enterprise gateway to referesh data from a SQL server, what I want to know about it are:

 

1) I see that the refresh frequency has options of "daily" and "weekly". Is there any option to refresh with a higher frequency, e.g. every 15 minutes?

 

2) When a refresh is happening, does my older data get overwritten? We keep data for the past two days in our database, but ideally, I would like the data that the gateway fetches when refreshing to be appended to whatever data I have so that my report can use data over a longer timespan. e.g. if I run the gateway for few months, I prefer to have all the data for, say, the last month that was eventually fetched from the db over the past rather than having the last two days. Is such a capabiliy supported in PBI? and if it is, do I need any settings in my gateway? If it is not, is there any alternative or workaround to keep longer span of data and keep appending to it and with every refresh, only retire the oldest set of data over the timespan?

 

Thanks

Ali

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Pro supports Hourly refresh, pick Daily, pick an hour then create another refresh, pick Daily, pick another hour, etc. If you need more frequently you should investigate Direct Query or a streaming data source. Using these methods, you can get "live" data (up to the second)

 

Currently, refresh in Power BI is always a complete refresh of the data. So, your situation, you would need to keep the other data around somewhere and append your current data. You could do this with an R script Query and an Azure SQL database for example. You would create a query that grabbed everything from your Azure SQL database. You would then create another query that grabbed from the data source you mention that only holds 2 days of information. You would do this in R, for example, and this query would write back to the Azure SQL database with the new information. You would then Append this query to your first query. In this way, you would get everything. I believe there is an Idea for incremental refresh. Ah yes, here it is, you should vote for it:

 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7288623-incremental-data-loads

 

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Super User
Super User

Pro supports Hourly refresh, pick Daily, pick an hour then create another refresh, pick Daily, pick another hour, etc. If you need more frequently you should investigate Direct Query or a streaming data source. Using these methods, you can get "live" data (up to the second)

 

Currently, refresh in Power BI is always a complete refresh of the data. So, your situation, you would need to keep the other data around somewhere and append your current data. You could do this with an R script Query and an Azure SQL database for example. You would create a query that grabbed everything from your Azure SQL database. You would then create another query that grabbed from the data source you mention that only holds 2 days of information. You would do this in R, for example, and this query would write back to the Azure SQL database with the new information. You would then Append this query to your first query. In this way, you would get everything. I believe there is an Idea for incremental refresh. Ah yes, here it is, you should vote for it:

 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7288623-incremental-data-loads

 

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors
Top Kudoed Authors