Showing results for 
Search instead for 
Did you mean: 
New Member

Change db connection on a desktop report

Good morning,


     I have a report made with powerBI desktop that uses direct query on a sql server db. It works perfectly. Now i have to upload the report on a different workspace and i need to change the origin of data (the server, in my case). The new database on the other server is identical to mine so i know that the query will work there too.


If i switch the server, obviously the report cannot connect to the db but it won't save the changes! It always ask me to apply but it fails and i cannot save this new settings.


How i can change the origin without touching the query or the output, just telling PowerBI not to update data?

New Member

Thanks but i already done that. The problem is that i don't have access locally to the server!

I want to upload the report on a customer's workspace where i have the access but obviously, if i upload with my data source, the data set is not able to associate the correct data origin.


How is it possible that with Report builder i can set the new origin without the need to update data and the desktop doesn't allow to do that?

Please, can anyone help me? I don't know even how to create from zero a desktop report on a workspace where i am guest.... 

Community Support
Community Support

Hi @Gaia81 ,


You can change data source in Data source setting.


Please make sure you have access to that Server.


Best Regards,
Rico Zhou


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors