Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi All,
I'm looking into using an API connection to a dynamic dataset in Power BI using Web.Contents in Power Query.
My question is that because I want this data source as up to date as possible I'm wondering if API connections can be set to refresh as the report is accessed or if a gateway needs to be setup per report using the API connection that could have scheduled refreshes throughout the day.
Thank you
Solved! Go to Solution.
You can configure the dataset associated with your report on a refresh schedule. You probably do not need a gateway if the API is to a cloud based service. I will warn you though that Power BI is a little finicky when it comes to web based APIs, and what works in the desktop doesn't always work in the service. There are alot of factors that contribute to this and many posts about this. The easiest web APIs to use are those that use anonymous authentication, and you pass authentication data (tokens in headers). It can get quite complicated for other authentication methods
Good luck
You can configure the dataset associated with your report on a refresh schedule. You probably do not need a gateway if the API is to a cloud based service. I will warn you though that Power BI is a little finicky when it comes to web based APIs, and what works in the desktop doesn't always work in the service. There are alot of factors that contribute to this and many posts about this. The easiest web APIs to use are those that use anonymous authentication, and you pass authentication data (tokens in headers). It can get quite complicated for other authentication methods
Good luck
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 9 | |
| 7 | |
| 5 |