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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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