Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
raulcruzv
Frequent Visitor

Datasource change environment

In order to redirect a report wich was deployed into Power BI Online from QA to PROD environment, Is it really necesary to do that modification in a new PIB desktop file? Isn't it possible to do that from the service itself?

5 REPLIES 5
_sfrost
Solution Specialist
Solution Specialist

@raulcruzv 

AFAIK, you can achieve this with the following REST API. However, it supports only limited number of sources and it has few restrictions. For more info, I would suggest you to refer to the below doc:

Datasets - Update Datasources In Group (Power BI Power BI REST APIs) | Microsoft Docs

 

Did I answer your questions? Give a thumbs up and accept this post as solution!

Anonymous
Not applicable

You can go to Query and "Advanced Editor" and change it manually.

GilbertQ
Super User
Super User

Hi @raulcruzv

 

When you mention "Is it really necesary to do that modification in a new PIB desktop file", what do you mean?

 

Is it for a link for users, or Dashboard tiles linking to the report?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

What I'd like to do is having an option where we are able to modify the datasource without the need of publishing the *.pbix file again.

With "datasource" I mean having the possibility to change from ServerA to ServerB (e.g. SQL Server QA to SQL Server PROD)

@raulcruzv

 

It's not supported to edit the data source on Power BI Service. If you want to change the server name of data source, you have to edit in .pbix file or create a new one and publish again.

 

Regards,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.