All Projects → pbi-tools → pbi-tools

pbi-tools / pbi-tools

Licence: MIT License
Power BI DevOps & Source Control Tool

Programming Languages

C#
18002 projects
F#
602 projects
matlab
3953 projects
Mathematica
289 projects
powershell
5483 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to pbi-tools

revctrl.org
An extract, as complete as I can make it, of content from the revctrl.org wiki
Stars: ✭ 13 (-78.33%)
Mutual labels:  source-control
sql-source-control
Simple CLI for getting SQL into source control systems.
Stars: ✭ 49 (-18.33%)
Mutual labels:  source-control
PowerBI-book-ru
Проект открытого методического пособия по Power BI, Power Query, Power Pivot
Stars: ✭ 76 (+26.67%)
Mutual labels:  power-bi
databricks-notebooks
Collection of Databricks and Jupyter Notebooks
Stars: ✭ 19 (-68.33%)
Mutual labels:  power-bi
powerbi-vcs
WIP (properly) version control and collaborate on your *.pbi{tx} files
Stars: ✭ 78 (+30%)
Mutual labels:  power-bi
datapackage-m
Power Query M functions for working with Tabular Data Packages (Frictionless Data) in Power BI and Excel
Stars: ✭ 26 (-56.67%)
Mutual labels:  power-bi
FlowViz
A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
Stars: ✭ 150 (+150%)
Mutual labels:  power-bi
10-TwinStick-Original
A cross-platform, twin stick control game set in 2.5D as part of The Complete Unity C# Developer 2D (http://gdev.tv/cudgithub).
Stars: ✭ 34 (-43.33%)
Mutual labels:  source-control
awesome-power-bi
⭐️⭐️⭐️ Awesome Power BI dashboards, visuals, development resources, learning materials and more 🔥🔥🔥
Stars: ✭ 61 (+1.67%)
Mutual labels:  power-bi
LibPQ
Detach your M code from workbooks to reuse it! Import modules from local or web storage (unlimited number of sources)
Stars: ✭ 55 (-8.33%)
Mutual labels:  power-bi
MCW-Big-data-analytics-and-visualization
MCW Big data analytics and visualization
Stars: ✭ 172 (+186.67%)
Mutual labels:  power-bi

pbi-tools

pbi-tools is a command-line tool bringing source-control features to Power BI. It works alongside Power BI Desktop and enables mature enterprise workflows for Power BI projects.

An example project is available here: https://github.com/pbi-tools/adventureworksdw2020-pbix

GitHub release (latest by date) Twitter Follow Join the chat at https://gitter.im/pbi-tools/general

User Notes

Developer Notes

Build System

  • All build targets are implemented using FAKE.
  • Dependencies are managed using Paket.
  • Main entry point for all build tasks is .\build.cmd.
  • The fake-cli tool is installed as a local .NET Core Tool, see .config\dotnet-tools.json. That's why a .Net Core 3.x SDK is required to build the project. The build.cmd script handles the tool installation.

Prerequisites

  • Visual Studio 2019 or later (for MSBuild dependencies)
  • .Net 4.7.2 Targeting Pack
  • .Net 6.0 SDK
  • Power BI Desktop x64 (Must be installed in default location for local development: C:\Program Files\Microsoft Power BI Desktop\)

List Build Targets

dotnet fake build --list

Versioning

The project strictly adheres to SemVer v2 for release versioning. The build system uses the first entry in RELEASE_NOTES.md to inject version numbers into build artifacts.

Diagnostics

  • Log output can be controlled using the environment variable PBITOOLS_LogLevel.
  • Allowed values are:
    • Verbose
    • Debug
    • Information
    • Warning
    • Error
    • Fatal
  • The default is Information, which is also effective when an unknown/invalid option has been specified.

Build

.\build.cmd Build

Run Tests

.\build.cmd Test

Run All Targets (Build, Publish, Test, UsageDocs, Pack)

.\build.cmd Pack

Run only the specified build target

.\build.cmd UsageDocs -s
dotnet fake build -s -t SmokeTest

Install Dependencies

dotnet paket install

That is generally not needed as the build.cmd script takes care of fetching dependencies. However, it could be useful to run this manually on a fresh clone or after making changes in the paket.dependencies file.

Update Specific Dependency to latest version (ex: AMO)

dotnet paket update Microsoft.AnalysisServices.retail.amd64
dotnet paket update Microsoft.AnalysisServices.AdomdClient.retail.amd64

Updating All Dependencies (NuGet)

dotnet paket update
dotnet paket update -g Fake-Build

Find outdated dependencies

dotnet paket outdated -g Main

Invoke Build script directly

dotnet fake {...}
dotnet fake -t Build
dotnet fake --version

Extract embedded sample PBIX with local build version and using default settings

.\pbi-tools.local.cmd extract '.\data\Samples\Adventure Works DW 2020.pbix'

Extract embedded sample PBIX with local build version and 'Raw' serialization mode, into custom output folder

.\pbi-tools.local.cmd extract '.\data\Samples\Adventure Works DW 2020.pbix' -extractFolder '.\data\Samples\Adventure Works DW 2020 - Raw' -modelSerialization Raw

Enable Debug logging (PowerShell)

$env:PBITOOLS_LogLevel = "Debug"

Fast local build (no clean)

.\build.cmd Publish -s
.\build.cmd Pack -s

Git Submodules

Clone with submodules

git clone --recurse-submodules https://github.com/pbi-tools/pbi-tools.git

Pulling in Upstream Changes

git submodule update --remote
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].