- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Change data sources for all pbix files in one go
I am currently doing a database migration from AAAAA01 database server to BBBBB01 server. All of my power bi pbix files (>100) are pointing to the same source (i.e. AAAAA01 server DB XXX ) now, and I am looking for a way to change the AAAAA01 server XXX DB to BBBBB01 server and DB YYY for all the dashboards files in one go instead of opening each of them and change it one by one.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since this is a meta data change you will end up opening each of them anyway.
One approach is to use parameters for server and database. Then you can change these parameters in the service, programmatically via the API
Datasets - Update Parameters - REST API (Power BI Power BI REST APIs) | Microsoft Learn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since this is a meta data change you will end up opening each of them anyway.
One approach is to use parameters for server and database. Then you can change these parameters in the service, programmatically via the API
Datasets - Update Parameters - REST API (Power BI Power BI REST APIs) | Microsoft Learn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
Actually I find this solution by myself yesterday. I tried and it is successful, but it takes time to redo all my 100 dashboards. But it seems worth the time to reconfig. Hopefully next time when I change the DB connection, I can use the parameterised method through API.

Helpful resources
Join our Fabric User Panel
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Power BI Monthly Update - June 2025
Check out the June 2025 Power BI update to learn about new features.

User | Count |
---|---|
4 | |
3 | |
1 | |
1 | |
1 |
User | Count |
---|---|
7 | |
5 | |
4 | |
3 | |
3 |