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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 45 | |
| 45 | |
| 43 | |
| 15 | |
| 15 |