Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hey there,
Does anyone have some javascript code I can use in the way of a bookmark to make my dashboard's tiles refresh every 60 seconds?
This dashboard is set up as direct query.
I copied one that didn't work perhaps because it was intended for Power Bi Service tiles instead of on Premise.
Thanks!
Hi there,
thanks! after much digging on the web I found a script that works. I set it as a bookmark on the browser and save the url of it as this:
javascript:function refreshPowerBI() {this.frames[0].postMessage({ kind: "powerbi.reportServerHost.IToolbarActionMessage", button: "refresh" }, "https://[your instance]/:443")} if (window.autoRefreshInterval) { clearInterval(window.autoRefreshInterval); };window.autoRefreshInterval = setInterval(refreshPowerBI, 30 * 1000)
I hope it helps other users.
Hi @mpsrshl ,
As it relates to development, I did not find a relevant article, you can refer to the following link and check if it is helpful to you:
Best Regards
Lucien
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |