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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.