Skip to content

dylanberry/power-bi-devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power BI DevOps

A set of tools aimed to make managing Power BI artifacts and deployments easier.

Overview

The basic workflow allows

Export Pipeline

  1. Exports datasets as .bim files (json/TMSL)
  2. Exports reports (all report items with do not include dataset in the name) as .pbix files (binary)
  3. Extracts the pbix contents (json + xml)
  4. Commits the exported/extracted source code to git

Deploy Pipeline

  1. The report deployment pipeline is queued in Azure DevOps
  2. The Tabular Model Scripting Language (TMSL) dataset file is deployed via the XMLA endpoints
  3. The extracted report source code is compiled into a pbix
  4. The pbix file is uploaded to the target environment
  5. The report is rebound to the dataset and the datasource credentials are updated

How does it work?

There are 2 major pieces:

  1. agents - Pipeline agent configuration - these scripts create agent VMs, then install and configure the tools required to work with the pbix files (Power BI Desktop + pbi-tools)
  2. ci-cd - Extract and compile - these scripts extract and compile the pbix to and from source

Setup and Usage

You can use these tools in 2 ways:

  1. Any Windows pipeline agent - the export/import process can be performed on Windows agent which has chocolatey installed. In this case, Power BI Desktop is installed for every pipeline run and can take 5+ minutes depending on the agent.
  2. Specific Windows pipeline agents - you can preconfigure agents with Power BI Desktop and pbi-tools which saves time on each run.

Prerequisites

For Agent Configuration

  1. Azure RM Service Connection
  2. Variable Group + PAT (currently hardcoded to group: AgentPoolAdmin and $(PAT))

For CI/CD

  1. Variable Group group: PowerBI
    • $(TenantId)
    • $(ClientId)
    • $(ClientSecret)

Other Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published