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 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 11 | |
| 10 | |
| 6 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 25 | |
| 18 | |
| 18 | |
| 17 |