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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
nphdiem95
Frequent Visitor

Refresh data when database has changes

Hi all.

 

I want my reports on power BI service to refresh immediately when the database has changes.

Is there any way to do that?

 

Thanks,

 

Diem

1 ACCEPTED SOLUTION

@nphdiem95,

 

Hi Diem,

 

1. Everytime we refresh or reload a report that is in a Direct Query mode, Power BI will retrieve the source data from the data source. So when you refresh the dashboard or the report, you will get the latest data. 

2. Scheduled refresh of Direct Query is scheduled CACHE refresh. 

3. Even scheduled refresh can happen minute-by-minute, but the dashboard and the report won't refresh minute-by-minute. The tiles on the dashboard refreshes about every fifteen minutes. Reference: powerbi-refresh-data

4. If you want the visual update in real time, you need to use a stream dataset.

 

Workarounds:

1. Use a stream dataset if you want the visual to update in real time.

2. Use Direct Query mode. Refresh the browser tab in a duration you want, which can be done by third-party tools. I tested the Direct Query mode. Everytime I refresh, I can get the latest data. 

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @nphdiem95,

 

Could you please mark the proper answer as solution or share the solution if it's convenient for you? That will be a big help to the others.

 

Best Regards!
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-jiascu-msft Thank you for your reply. My data is always deleted and refill every minute. As far as I know, direct query only schedule refresh every 15 minutes at least. What can I do to keep my dashboard up-to-date?

@nphdiem95,

 

Hi Diem,

 

1. Everytime we refresh or reload a report that is in a Direct Query mode, Power BI will retrieve the source data from the data source. So when you refresh the dashboard or the report, you will get the latest data. 

2. Scheduled refresh of Direct Query is scheduled CACHE refresh. 

3. Even scheduled refresh can happen minute-by-minute, but the dashboard and the report won't refresh minute-by-minute. The tiles on the dashboard refreshes about every fifteen minutes. Reference: powerbi-refresh-data

4. If you want the visual update in real time, you need to use a stream dataset.

 

Workarounds:

1. Use a stream dataset if you want the visual to update in real time.

2. Use Direct Query mode. Refresh the browser tab in a duration you want, which can be done by third-party tools. I tested the Direct Query mode. Everytime I refresh, I can get the latest data. 

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

@nphdiem95,

 

Hi Diem,

 

It could be an easy way to connect to the database in the Direct Query mode. No refreshing is needed. But a gateway may be needed. Please reference: powerbi-desktop-use-directquery 

About refreshing: powerbi-refresh-data

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PowerDAX
Resolver III
Resolver III

Hi Diem - see a great article from Erik Svensen re: 

Updating a #PowerBI dataset using Microsoft #Flow, #Azure Functions and a #Flic button

 

http://www.businessintelligenceinfo.com/business-intelligence/self-service-bi/updating-a-powerbi-dat...

 

This same functionality (minus the Flic button) could be used with a Microsoft Flow event when a specific data element was updated/inserted.

powerdax.com

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.