Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
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.
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
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
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.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
4 | |
4 | |
3 | |
2 | |
2 |