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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jdobrzen
Advocate III
Advocate III

Build Configurations

I am trying to design some what of a deployment pipeline/framework for promoting PBIX files from a "dev" environment to a "prod" environment.  I believe using two seperate app workspaces is a start, but what I am struggling with is if there is a way to manage connection properties inside of Power BI Desktop?

 

I am looking for something similar to build configurations in Analysis Services.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jdobrzen,

 

As @Greg_Deckler said, query parameter can used to control connection string, but current this feature not available on power bi service.

Power BI Tutorial: How to Parameterize Connection Variables in Power Query

Pass Parameters to SQL Queries

 

You can also try to build report as report model, then you can use original model file to create multiple report by change connection string.

Deep Dive into Query Parameters and Power BI Templates

 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @jdobrzen,

 

As @Greg_Deckler said, query parameter can used to control connection string, but current this feature not available on power bi service.

Power BI Tutorial: How to Parameterize Connection Variables in Power Query

Pass Parameters to SQL Queries

 

You can also try to build report as report model, then you can use original model file to create multiple report by change connection string.

Deep Dive into Query Parameters and Power BI Templates

 

Regards,

Xiaoxin Sheng

I appreciate the links. Thank you!

Greg_Deckler
Super User
Super User

Can you create query parameters to hold your dev versus prod connection settings and then use those parameters in your Source line? Then you could just change the parameter settings when promoting from dev to prod.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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