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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
CatherineT
Frequent Visitor

undefinedQuickly change data source environnement for SQL requests on desktop application

If I declare 2 data sources, one on DEV environnement and the other one in production environnement, is it possible to change quickly from one to the other easily in the sql requests, on the desktop application ?

1 ACCEPTED SOLUTION

Hi @CatherineT,

Based on your previous update, can you confirm if the issue is resolved on your side, or do you still require any assistance?

 

Thank you.

View solution in original post

8 REPLIES 8
v-saisrao-msft
Community Support
Community Support

Hi @CatherineT,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @CatherineT,

Have you had a chance to review the solution we shared by @cengizhanarslan @MasonMA ? If the issue persists, feel free to reply so we can help further.

 

Thank you.

Hello,
I managed to create the 2 proposed parameter (ServerName and DatabaseName) and create a connection on each environments. This allow me to change the connection in the desktop application.

 

Next  step, will be to see I how to publish the report in the DEV environment and push it in the production one, using existing connections in the gateways.

 

Thank you for your help !

Hi @CatherineT,

Based on your previous update, can you confirm if the issue is resolved on your side, or do you still require any assistance?

 

Thank you.

MasonMA
Super User
Super User

Hi, 

 

You can also follow this Youtube Tutorial from Microsoft~

https://www.youtube.com/watch?v=OnaDJkGOmIE

The video si no more available 😞

cengizhanarslan
Super User
Super User

Can be done if you define parameters in Power Query for your 2 different sources. Then just by changing the parameter the source could be change DEVtoProd or ProdtoDEV.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.