Get startedGet started for free

Version Control in Fabric

1. Version Control in Fabric

In the previous video, you learned how Version Control can help you organize your work and keep track of changes in your workspaces. In this lesson, we will discover how this works in Fabric.

2. Why Version Control is important in Fabric

As you know from the previous chapter, keeping track of your changes is very important to maintain an organized environment. With version control, also called "source control", enabled, a Fabric workspace can sync its items with a git repository storing all its history. With this powerful feature, you can explore the snapshots of the repository, retrieve single commits, compare them, and travel in time when needed

3. Supported Fabric Elements

Version control (also called source control) is currently supported for several Fabric elements, including pipelines, lakehouses, and warehouses. This integration extends to notebooks and Spark jobs, which are saved as code snippets. On the Power BI side, the version control capabilities cover Reports, Paginated Reports, and semantic models.

4. In Fabric, (almost) everything is JSON

You may be wondering how it's possible to track changes for something like a Pipeline, which doesn't look like standard textual data. In reality, most Fabric items support version control because they are stored as JSON files behind the scenes, which is well-compatible with Git. This is slightly different for Power BI reports, as the .pbix format is binary. You'll discover how the Power BI team solved this challenge in the next lesson.

5. How to set up version control in Fabric

To set up version control in your Fabric workspace, you'll need a Fabric license and workspace admin permissions. Then, you'll need to configure a Git provider, which is a cloud service that hosts your repository online. The most famous integrated options are Azure DevOps and GitHub. When the provider and the repository are connected, your workspace will be synced using Git. After any change, you can save the snapshot with a descriptive message and retrieve the entire history in the Git repository.

6. Let's practice!

Now, let's put this into practice.

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.