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 ?

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

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.