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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
insafM
Frequent Visitor

Leveraging Power BI Parameters to Switch Between Environments

Dear Community, 

I have DEV, test and prod environment in Databricks and I want to be able to switch sources between these differe,t environment 

would the parametered data source system be a possibility for Azure data bricks as well ?

insafM_1-1710172356334.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @insafM ,

It is possible to pass parameters to switch environments.

1.Try to create parameters to represent environments.

2.Use the baseParameters property to pass parameters to notebooks.

3.You can also view the following link to learn about the databricks.

Azure Databricks activity - Microsoft Fabric | Microsoft Learn

 

Best Regards,

Wisdom Wu

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

christinepayton
Super User
Super User

Yes, it'll work with virtually anything. You can connect to the source in the usual way, create your parameters in the query editor, and then insert them in the advanced query editor window in place of the prior text values for things like server/db. 

Hello @christinepayton , 

thank you for this.

it seems to be leading forward towards the solution I am looking for.

I would like to ask though, do I have to apply the changes for every table in the advanced query editor ? 
is there a way to do it all at once? ( I checked and I could not change that at the data source setting level 😞

insafM_0-1710238989574.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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