Power BI — Version Control
Intro
To control the version of your PBI dashboard you should have:
- Power BI Desktop (Microsoft store link)
- Git
- GitHub account
Optional
To visit the repository of this post, follow this link.
In june/2023 Microsoft released an update for Power BI which (finally) brought us the version control of dashboards.
It’s called “Power BI Desktop Developer Mode”.
You could also use this new feature for CI/CD integration using Azure, but it won’t be our focus in this post. I’ll try to explain the 101 for the average user of PBI.
Power BI Developer Mode
Currently PBI Developer is in Preview Mode, to enable this new feature you should go to File > Options and settings > Options > Preview features.
How to
I’ll consider that you have already installed everything that was mentioned in “Intro”. Directly to our topic, let’s do it together.
1. Create a local repository
Open GitHub desktop, login to your account, create a local repo in “Create new repository”.
Select the name of the repo and its local path.
Publish your local repo into your GitHub account.
Now your local repository is “connected” to the GitHub’s cloud.
2. Create a Dashboard
Like this masterpiece:
Now, is where it all happens.
Click in File > Save as
, go to your repo folder:
Assign it a name and save the file as *.pbip
.
4. Commit/Push
Now, just click over commit to main. (In case you want to commit it into the main branch) and push it.
Well, there it is… all the files created by the .pbip and the .pbix wasn’t commited/pushed into our GitHub’s repo.
In case you want to see what was done in this post: IgorComune/medium_repo_test (github.com)
In the next post, I’ll describe each folder and its contents that was created by .pbip.
That’s all folks.
Don’t forget to subscribe to
and join our Power BI community