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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
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
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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