Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Here is the scenario:
1. I use the api (https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasourcesingroup) to change a dataset connection (database/server/login credentials). This works fine.
2. The reports that use this datasource that was updated in above step are using import mode. So I need to get the new data into the report.
So here is the question. I have noticed sometimes that the datasource will automatically start a refresh after calling the UpdateDatasources and sometime will not. So programmatically I am always calling the API (https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdataset) to do data refresh after the update. But based upon the help documentation (https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasourcesingroup) it states something about waiting 30 minutes before doing a refresh, but I am not sure if this applies?
So is it ok to call a refresh after doing a datasource connection update, or do I need to wait 30 minutes, or will it automatically refresh after some time. Please note, I am not discussing dataset scheduling in this post ad I am already doing this. I am only addressing the issue after a datasource connection update has been just completed using the API.
Thanks for the help.
Hi!
You can see in the datasets tab in Power BI Service when the next refresh will happen.
In my case i also called the refreashdataset after an update of the datasource and hit the limit very quickly. So i just leave it for the automatic refresh for now.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
7 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |