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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
jdobrzen
Advocate II
Advocate II

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors