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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

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?

3 REPLIES 3
Anonymous
Not applicable

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?

Anonymous
Not applicable

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.... 

v-rzhou-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can change data source in Data source setting.

RicoZhou_0-1668670843612.png

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

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors