Following the introduction of Microsoft Fabric, Microsoft has announced the launch of Power BI Desktop Developer Mode, a new extension for developers that integrates new features, including the ability to save work as Power BI projects.
Since the launch of Microsoft Fabric and Copilot, there have been a lot of news for Power BI users. The biggest change has come with the announcement of Power BI Desktop Developer Mode, a new Power BI extension for developers that will change the way developers work in Power BI.
The new Power BI Desktop Developer Mode (currently in preview) has to be understood as part of the new Microsoft Fabric flexible data architecture, which includes Power BI, among other tools.
Microsoft created Microsoft Fabric with the intention of bringing "all of an organisation's data and analytics together in one place". Along these lines, Power BI Desktop Developer Mode enhances the ability to collaborate across teams within the Power BI environment, as well as automating deployments in development, test and production environments.
Microsoft Power BI Desktop Developer Mode is a new Power BI extension that integrates CD/DI development experiences directly into Power BI Desktop. The new Power BI extension is remarkable for its integration to Git repositories such as Azure DevOps, which enables the introduction of new capabilities to Power BI Developer Mode, such as code integration and version control directly from Azure DevOps. This allows developers to easily version control both their Power BI reports and datasets.
The most notable new features of Power BI Developer Mode are the integration of Power BI with GitHub and Azure DevOps and the ability to save Power BI projects as .PBIP.
Without a doubt, the most outstanding feature of Power BI Developer Mode is that it allows users to save their work as Power BI projects.
The new Power BI extension that allows saving as a Power BI Project is PBIP. Thus, files saved as Power BI projects are .PBIP files.
By saving jobs as .PBIP projects, report artefact definitions and datasets are saved as individual plain text files in a simple and intuitive folder structure.
Saving files as .PBIB enables to store dataset and reports metadata as text files. This, in turn, enables the following functions:
For now, the functionality to save files as .PBIP is in preview, which means, we can already test it!
The first thing we have to do is to go to Power BI Desktop and go to File > Options and settings > Options > Preview features and check the box "Power BI project (.pbip) save option".
To save a .pbix file as .pbip, we simply have to open a .pbix file in Power BI Desktip and go to File > Save As and choose the file type "Power BI Project Files (.pbip).
By saving our file as .pbip, Power BI Desktop will store the report artefacts and datasets as folders containing text files that define the artefact.
The project folder structure is as follows:
Source: Power BI
We should keep in mind that when we save our files as .pbip, we will also be saving a .pbir file, which is a Json file containing the metadata of our Power BI report.
We can open the saved .PBIP project by opening the <project name>.pbip file or the definition.pbir file in the report folder. Both options open the report and dataset for editing in Power BI Desktop.
One of the most significant new features of Microsoft Fabric is the Git integration with Azure DevOps for Power BI that facilitates the synchronisation of Power BI workspaces with Git repositories, ensuring consistency and facilitating continuous integration workflows.
This integration gives developers the ability to start report development in Power BI Desktop, transition seamlessly to Power BI Service and return to Power BI Desktop, where every modification is securely backed up and versioned by Git.
GitHub is one of the best platforms for version control and collaboration in software development projects. Among other things, developers use Git to manage their source code, track changes and collaborate with team members.
GitHub's integration with Power BI makes it easy for developers and data analysts working with Power BI to analyse code repositories and gain valuable insights.
By integrating these two platforms, GitHub provides several APIs that developers can use to access their repositories and extract relevant data. Power BI supports connection to these APIs and real-time data retrieval, allowing users to create dynamic reports and dashboards based on their code activity.
The integration of GitHub and Power BI offers many benefits. First, it allows developers and project managers to track and visualise code changes, commits and pull requests from their projects and Power BI reports. This helps identify patterns, understand code quality and monitor project progress.
Furthermore, by combining GitHub's collaboration features with Power BI's data visualisation capabilities, teams can easily share and communicate knowledge derived from the code base. This fosters cross-team collaboration, knowledge transfer and informed decision-making across the organisation.
In addition, GitHub's integration with Power BI makes it easy to analyse code performance and identify bottlenecks. By tracking metrics such as code churn, lines of code and code review time, developers can identify areas for improvement and optimise their development processes.
Microsoft has already announced that they are still working on Power BI Desktop Developer Mode and that more news will be released as it moves towards general availability.
For the time being, the news that have already been made public are:
Conclusion
The release of Power BI Desktop Developer Mode is great news for Power BI developers, as it provides them with new features and capabilities to work more efficiently in Power BI.
With this new extension, developers can now save their work as Power BI projects, allowing them to maintain more accurate version control and collaborate more effectively in their development environment. In addition, integration with GitHub and Azure DevOps offers even more possibilities for collaboration and automation.
To learn more and take full advantage of this new functionality, we invite you to explore the resources and documentation provided by Microsoft.
Don't hesitate to give it a try and discover all that Power BI Desktop Developer Mode can do for you!
Are you leaving?
There's still time to download our latest e-book in which you will find the 15 best Power BI Dashboards of 2023 with explainations about what metrics and KPIs they must include.