Skip to main content
Microsoft Idea

Power BI

Completed

Add data source settings management for dev vs. prod environments

Vote (9) Share
Jonathan Poulin's profile image

Jonathan Poulin on 13 Apr 2017 19:56:51

We develop reports and dashboards for client companies. Basically, we help them get up-and-running and support them with Power BI.

Our methodology is the following:

First, for now, it is based on SQL Server databases only. We have their backup restored locally on our development SQL Server.

So while developing the Power BI reports with Desktop, we connect to local data sources. We test it by publishing the reports on our own Office 365 space.

At deployment-time, we change the data source settings to put those from production environment (server and database name). We then publish the reports using one of their Power BI account license. We are doing it from our development machines.

The problem is that whenever we need to do modifications to a report/dataset, on Desktop, we need to change the data source settings back to the development ones in order to test.

Right now, it is a pain...

It would be great if you could add a feature to help manage it easily.

Administrator on 15 Jul 2023 13:25:32

It is supported as part of deployment pipelines.

Comments (1)
Jonathan Poulin's profile image Profile Picture

TEK on 05 Jul 2020 23:51:52

RE: Add data source settings management for dev vs. prod environments

Maybe this could be solved by making it possible to get access to Workspace variables from dataset/reports
So that you in the dataset could do something like:
connectinString = My.Workspace.Variable["DatabaseKey"]
I think that would possible solve this and a lot of other use-cases as well.