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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
CatherineT
New Member

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 ?

7 REPLIES 7
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 !

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.