Power BI reports are generally published directly into the Power BI Service. But doing so has many drawbacks. For example, you can't see:
In other words, the history of the changes isn't recorded anywhere.
❌ Figure: Bad example - There is no way to see version history of a report in Power BI Service
❌ Figure: Bad example - Even the report settings do not show its version history
❌ Figure: Bad example - Option 1: Publish reports directly to Power BI Service; however it does not record the history of changes
The correct method is the PBIP method, which is:
Read the rule on Power BI version control features to get a background on this. Note: This does not work for Power BI dashboards. Dashboards do not have a PBIP or PBIX file associated and are only available on Power BI service, and so cannot have any source control or version history.
When a report is saved in the PBIP format, Power BI decomposes it into multiple text files. This allows version control to identify the parts of the report that were changed. Additionally, Power BI saves the data associated with the report separately in a file called cache.abf. This file should not be saved in version control.
✅ Figure: Good example - Option 2: PBIP method - the PBIP format allows comparing changes made to reports by decomposing it into multiple text files
✅ Figure: Good example - PBIP format allows recording history of changes without saving data into version control
Historically report developers have used the .pbix or the .pbit format. These are no longer recommended as the new PBIP format overcomes the shortcomings of these 2 formats.
If you're a business user, watch the following video to get a walkthrough of the process you would follow to edit and commit reports.
The entire process is done on Power BI Service (web) (except the step to create a pull request). At a high-level the steps are:
If you want to update the report's data model or want more sophisticated editing features, you will need to edit the report in Power BI Desktop instead. The next section explains how you can do so.
If you're a developer, watch the following video to get a walkthrough of the process you would follow to edit and commit reports.
The process is done on one's PC. You will need to download Power BI Desktop. At a high-level the steps are:
<Report Name>.Reports folder on the local repo on your PC. This will open the report in Power BI Desktop. It will allow you to edit both the report and the dataset. (every time)Deployments would typically be done by Power BI Admins. You as a dev generally won't do this directly unless you're responsible for a workspace yourself.
Reports can be deployed to a production workspace on Power BI Service by simply syncing the workspace with the 'main' branch in the Reports repository.
Figure: How to sync changes into a workspace in Power BI Service, effectively deploying reports