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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rohanP
Microsoft Employee
Microsoft Employee

Power BI data source connection based on environment

Hi All,

I have Power BI Report which uses the 'Azure Data Explorer (Kusto)' as datasource. I have different environments like Dev, Testing & Production which refers to different Kusto Servers. I want to change datasource based on environment dynamically. 

E.g.

For Dev environment datasource should refer to 'DevServer.kusto.windows.net',

For tesing  environment datasource should refer to 'TestServer.kusto.windows.net'

 

For Kusto datasource connection, we can not pass parameters from Power BI.

Currently I am changing datasource for each report manually before deployment on each environment, which is very tedious task as we have large number of reports.

 

Is there any way to change the Power BI connection based on environment ?? Or Is there any other alternative ??

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @rohanP 

 

Have you tried to parameterise a data source ? From connecting to different data sources defined in Query Parameters to load different combinations of columns. You may create a parameter for clusters and a parameter for databases.

 

To visualize data from Azure Data Explorer in Power BI, you may refer to the document .

 

Best Regards

Allan

 

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

lbendlin
Super User
Super User

If you are on Premium capacity you can create deployment pipelines that allow data source parameters.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.