0% found this document useful (0 votes)
119 views16 pages

03 - Power BI CI-CD With Tabular Editor

This document discusses how to implement continuous integration and continuous deployment (CI/CD) for Power BI models using Tabular Editor, source control in GitHub, and Azure DevOps pipelines. It provides an overview of these tools and techniques and includes examples of validation and deployment pipelines.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
119 views16 pages

03 - Power BI CI-CD With Tabular Editor

This document discusses how to implement continuous integration and continuous deployment (CI/CD) for Power BI models using Tabular Editor, source control in GitHub, and Azure DevOps pipelines. It provides an overview of these tools and techniques and includes examples of validation and deployment pipelines.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Power BI / Fabric CI+CD

with Tabular Editor


About us
Myself:
Daniel Otykier
CTO of Tabular Editor ApS
Microsoft Data Platform MVP and Power BI Contributor

Our company:
Tabular Editor ApS
Based in Denmark
Founded in 2021 as a spinoff of Twoday Kapacity
Small, dedicated team (developers, PMs, support, commercials)
Part of Twoday Denmark
What is Tabular Editor?
Offline semantic model editor for:
• SQL Server 2016+ Analysis Services (Tabular)
• Azure Analysis Services
• Power BI Desktop (External Tool)
• Power BI Premium / Embedded (via XMLA endpoint)
• Fabric (via XMLA endpoint)
Tabular Editor 2.x (free, open-source)
• Includes CLI – required for automation!
Tabular Editor 3 (commercial license, free 30-day trial)
https://tabulareditor.com

https://learn.tabulareditor.com – Free learning and certification!


What is CI/CD?
Continuous Integration
• Multiple developers
• Multiple features (branches)
• Changes are continuously integrated
• Quality checks
Continuous Deployment
• Fully automated deployment to test/production
• Regular (short) intervals
Enabled by:
• Source Control (git)
• Azure DevOps Pipelines
• Tabular Editor
Why Source Control?
Why Source Control?
Example workflow

From: https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-build-pipelines
What are Azure DevOps Pipelines?
Orchestration of a wide range of tasks related to
application lifecycle management (ALM)
For various purposes:
• Build
• Validation
• Test
• Deploy
• Release
Using various tools:
• PowerShell
• CMDline
• MSBuild
• …and MANY more
Branch policies
Used to enforce Pull Requests on a git branch
Number of reviewers
Pipeline execution
Merge types
etc.
Validation pipeline
Tasks:
• PowerShell: Download Tabular Editor (and default rules)
• PowerShell: Run Tabular Editor Best Practice Analyzer

https://github.com/microsoft/Analysis-Services/blob/master/pbidevmode/sample-ado-
pipelines/ContinuousIntegration-Rules.yml
(Also includes Report best practice analyzer, using PBI Inspector)
Example workflow
Multiple options for Semantic Model developers:
Local Git + Code only (TMDL / Tabular Editor)
Fabric Git + XMLA only (Tabular Editor)
Local Git + Power BI Desktop
Fabric Git + Web Modelling
Demo
Gotchas
Local development with PBI Desktop
• Actual data resides in /.pbi
• Add “.pbi” to .gitignore
• Add .pbip file to folder root, to open in Desktop (ignored by Fabric)
Be careful when switching branch in a Fabric Workspace
• Ideally – create a new workspace when starting work on a new
branch
Deployment pipeline
Tasks:
• PowerShell: Download dependencies
• PowerShell:
• Authenticate Service Principal, and deploy PBI workspace (uses Fabric REST
APIs)

https://github.com/microsoft/Analysis-Services/blob/master/pbidevmode/sample-ado-
pipelines/ContinuousDeployment.yml
Demo
Thank you
Additional resources:

Tabular Editor website:


https://tabulareditor.com
Power BI Desktop projects:
https://learn.microsoft.com/en-us/power-
bi/developer/projects/projects-overview
Setting up Azure DevOps build pipelines:
https://learn.microsoft.com/en-us/power-
bi/developer/projects/projects-build-pipelines

You might also like