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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Community Champion
Community Champion

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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.