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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors
Top Kudoed Authors