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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
AquarianRaj
New Member

How to configure production source file and DB connectivity path?

Hi,


I am new to PowerBI. I have developed an application and it extracts data from DEV DB and loads dev CSV files from folders, which can only be accessed from Dev environment.

 

Now I want to move the app to production such that it should extract data from production DB and load CSV files from a production path.

I want to keep the file name the same in dev and production. Every time I want to promote the app to production, I would want the reload to automatically pick up DB source and CSV file in production. I could achieve this in other BI tools using simple environment text files.

 

I am wondering how to do this in PowerBI.

Thanks

1 ACCEPTED SOLUTION
v-xianjtan-msft
Community Support
Community Support

Hi @AquarianRaj 

 

First of all, thank you Smalfly for your positive reply and for the tutorial.


You can use parameterization to dynamically switch data sources and file paths.
Here are some related blogs I found for your reference:

Change the Source of Power BI Datasets Dynamically Using Power Query Parameters - RADACAD

How to Parameterize Data Sources in Power BI 

 

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

 

 

View solution in original post

2 REPLIES 2
v-xianjtan-msft
Community Support
Community Support

Hi @AquarianRaj 

 

First of all, thank you Smalfly for your positive reply and for the tutorial.


You can use parameterization to dynamically switch data sources and file paths.
Here are some related blogs I found for your reference:

Change the Source of Power BI Datasets Dynamically Using Power Query Parameters - RADACAD

How to Parameterize Data Sources in Power BI 

 

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

 

 

Smalfly
Responsive Resident
Responsive Resident

Hi @AquarianRaj ,

 

you check this tutorial. That will show you how to do this step by step.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.