Professional Documents
Culture Documents
Power BI Version Control Key Concepts 1697687361
Power BI Version Control Key Concepts 1697687361
Power BI Version Control Key Concepts 1697687361
Power BI
Version
Control
THE KEY CONCEPTS
dia•chroma
Version Control
This system allows you to track the different
versions of a project (managing versions)
and facilitates collaborative work.
Git
This is a version management system. It
tracks changes made to files, creates
branches, commits, and so on.
Azure DevOps
A comprehensive development and
deployment platform.
Azure Repos
This is where your Git repositories are hosted
online. Think of it as a central warehouse for
your code (or your Power BI dashboards in
this context).
Files
These are the individual files contained within
your repository. This could be your Power BI
reports.
Clone
It's when you take an online-hosted Git
repository (like on Azure DevOps or GitHub)
and make a full copy of it on your computer to
work on it locally.
Branch
Imagine wanting to test a new feature without
impacting the main version of your project.
You create a "branch" to work on it, separate
from the main branch.
Commit
Every time you make a set of changes to your
files and wish to save these alterations, you
make a "commit". It's like taking a snapshot of
your files at a specific moment.
Push
After making one or more commits on your
computer, you "push" these commits to the
online repository so everyone can see them.
Pull
It's the opposite of "push". If others have made
changes online, you "pull" these changes to
your local version to stay updated.
Pull Request
When you're done working on a branch and
want to add your changes to the main version,
you ask others to review your changes via a
"pull request". It's a request to merge your
changes.
Merge
After reviewing a pull request and everything
looks good, you can "merge" this branch with
the main one. This adds all the changes from
that branch to the main branch.
Conflict
If two people modify the same thing at the
same time, Git isn't sure which version to keep.
This creates a "conflict" that you have to
manually resolve.
Initialization
Developers use Azure DevOps to create a Repo
titled "Reporting Sales".
Local work
Lucas, a developer, clones (meaning copies)
the repo to his computer to have a local
version.
Modification &
Commit
In this branch, Lucas edits the Sales
report.pbip and adds his new visualization.
Parallel work
Meanwhile, Sophie, another developer, wants
to fix an error in a chart. She too creates a
branch, naming it "chart-fix", and makes her
changes.
Conflicts
Sometimes, two people might modify the same
part of a file. Let's say Sophie and Lucas both
changed the same visualization. When they try
to merge their branches, Git will flag a conflict.
Continuation
The team continues to work in this manner,
creating branches for new features or fixes,
committing changes, pushing branches,
making PRs, merging, and so on.
dia•chroma