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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JIblasco
Helper I
Helper I

Report screen refreshing automatically

Hello everyone,

 

I'm trying to refresh my report screen automatically without any interaction of the user. Is it possible?. I have scheduled a refreshment that takes place every minute but only works clicking the refresh button.

 

Thanks in advance

1 ACCEPTED SOLUTION
DavisBI
Solution Specialist
Solution Specialist

Hi, @JIblasco 

 

@lbendlin  gives the official solution, that's so great, but it only work on the standard version of PBI, not on-premise PBIRS.

I have a solution, you just need to write a simple javascript code in your browser console and run it, so that the report page can schedule refresh every minute or every second (depending on your need) , you can refer to this article for detail.

 

setInterval(function(){document.getElementById(<input the id of refresh button>).click(); }, 5000);

 

Although it works for both Import and Direct Query data sources, if you use the import mode, you still need to set the schedule refresh for the data, since the page refresh is only for cache data of the page instead of the underlying dataset.

 

Mark this post as solution if this helps, thanks!

View solution in original post

4 REPLIES 4
DavisBI
Solution Specialist
Solution Specialist

Hi, @JIblasco 

 

@lbendlin  gives the official solution, that's so great, but it only work on the standard version of PBI, not on-premise PBIRS.

I have a solution, you just need to write a simple javascript code in your browser console and run it, so that the report page can schedule refresh every minute or every second (depending on your need) , you can refer to this article for detail.

 

setInterval(function(){document.getElementById(<input the id of refresh button>).click(); }, 5000);

 

Although it works for both Import and Direct Query data sources, if you use the import mode, you still need to set the schedule refresh for the data, since the page refresh is only for cache data of the page instead of the underlying dataset.

 

Mark this post as solution if this helps, thanks!

Hi @DavisBI ,

 

Ok, if there is no option to refresh the report, I'll try to refresh the browser.

 

Thanks!!!!!!

lbendlin
Super User
Super User

Automatic page refresh in Power BI Desktop - Power BI | Microsoft Docs

 

Note: Only works for Direct Query data sources.

Hi @lbendlin ,

 

Thank you for your answer. As @DavisBI says, your solution only works with the standard Power BI Desktop version, but I'm using Power BI Dektop for Report Server. The refresh option in this version doesn't exist. 

 

Anyway, thanks again for yor answer.

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.