Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small improvements about Power BI source control and squash merging #8247

Merged
merged 4 commits into from Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions rules/do-you-use-version-control-with-power-bi/rule.md
Expand Up @@ -19,6 +19,7 @@ archivedreason: null
guid: 80cbeca6-d33a-4ad3-8127-d3ae46fc5f00
---

## Foundational Concepts
Doing version control with Power BI reports used to be problematic. The primary way of doing this was to commit the .pbix file into the repository using source control tools such as Visual Studio Code (VS Code). However, this has some drawbacks:

<!--endintro-->
Expand All @@ -28,7 +29,7 @@ Doing version control with Power BI reports used to be problematic. The primary
* Version control process is not user friendly for non-developers

::: bad
![Figure: Bad example - Not a good practice to commit pbix files to source control](bad-example-pbix-source-control.png)
![Figure: Bad example - Committing .pbix files to source control does not let you see what changed](bad-example-pbix-source-control.png)
:::

Microsoft has addressed these issues through the introduction of:
Expand All @@ -54,12 +55,14 @@ Committing a report to the repo in this manner saves it as a Power BI Desktop Pr
* [A Dataset folder](https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-dataset), which contains files and folders representing a Power BI dataset
* [A Reports folder](https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-report), which contains the report settings, metadata for custom visuals, etc.

::: info
Whenever you see a .pbix file it should be converted to the PBIP format.
divgul marked this conversation as resolved.
Show resolved Hide resolved
:::

::: img-medium
![Figure: PBIP artifacts](ProjectFolders.png)
:::

Whenever you see a .pbix file it should be converted to PBIP artifacts by following the instructions given in the articles above.

## Developing Reports

You should no longer edit or publish reports directly in the production workspace. A better process for editing and committing reports is described below.
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.