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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors