#16pbi-tools Core Version released (with distributions for Win x64, Linux Desktop x64, Linux Alpine x64). This version is available cross-platform and supports CI/CD deployment and automation scenarios where a local Power BI Desktop installation is not available.
#16 Full/classic version of pbi-tools rebranded as “Desktop CLI” (exposed as “edition” info property)
compile-pbix improvements: New PbixWriter API for Core version
#48New ‘deploy’ CLI Action, initial release limited to Report-only PBIX deployments from a PbixProj folder using service principal
#46[compile-pbix] Emit warning when creating PBIX output with model
New Mashup serialization settings supported: Default, Raw, Expanded. Mode is persisted in PBIXPROJ settings, and can be provided as a command-line argument to the extract action.
BREAKING CHANGE: ‘Expanded’ is now considered legacy and no longer the default serialization mode. The compile-pbix action only supports projects extracted using the Default or Raw Mashup serialization mode.
New action: launch-pbi (Only supports classic installer, not Windows Store version)
compile-pbix Action
‘outPath’ not specified: Derive from project folder
‘outPath’ is existing file: Overwrite existing file if ‘-overwrite’ is specified, fail otherwise
‘outPath’ is existing directory: Generate file name from project folder, and place in directory. Fail if file exists and ‘-overwrite’ is not specified
‘outPath’ has extension: Assume to be file path
‘outPath’ has no extension: Assume to be directory, generate file name from project folder
Sources containing a tabular model are suported.
extract Action
#14 Support reading model from running Power BI Desktop instance. Specify port number via optional ‘-pbiPort’ argument.
Tested with Power BI Desktop 2.91, 2.92, 2.93
1.0.0-beta.4 - 2021-03-28
PbixProj v0.8 Format
/Mashup extracted from V3 models (when present in PBIX)
Fix bug in Report serializer: 64-bit id values
Prevented compile-pbix from running when sources contain Model (files generated would currently be invalid)
1.0.0-beta.3 - 2021-03-26
PbixProj v0.7 Format
Generate /Report/sections sub-folders using page index and title (e.g.: “000_Introduction”)
Generate /Report/../visualContainers sub-folders using unique combination of visual tabOrder, title, type, name (e.g.: “00000_textbox (dbb7a)”)
FEATURE: compile-pbix action (EXPERIMENTAL)
Compile PBIX or PBIT file from PbixProj sources
Improved diagnostic logging
1.0.0-beta.2 - 2021-03-21
Upgraded AMO library to 19.18, supporting latest TMSL features (Compatibility level 1562)
Improved documentation of CLI actions and arguments, Inserted Usage docs into README and Usage.md
Switched ‘powerbi-desktop-samples’ submodule to “main” branch
Added ‘./pbi-tools.local.cmd’
Using paket as dotnet local tool, removed local copy of “paket.exe”
‘export-usage’ action added
‘extract-data’ - DateTime format can be specified
New build target: “UsageDocs”
Added attribution to Win32 files (from projectkudu/KuduHandles)
1.0.0-beta.1 - 2020-11-18
Bugfix for Power BI Desktop Nov 2020 release (2.87)
Made implementation backwards-compatible: V3 models can be extracted with any prior version of PBI Desktop, only legacy models require the Nov 2020 version
Upgraded AMO library to 19.12, supporting latest TMSL features
Upgraded various other dependencies
1.0.0-alpha.7 - 2020-09-21
Upgraded AMO library to 19.10, supporting latest TMSL features
Resolve #6: In exported BIM, partition name matches table name if there is only one partition
1.0.0-alpha.6 - 2020-09-01
Added extra error handling to V3 Model Feature Switch detection (enable via “Verbose” loglevel setting)
Upgraded AMO library to 19.6, supporting latest TMSL features
Fixed braking change in Power BI Desktop July 2020 (2.83) version
1.0.0-alpha.3 - 2020-06-19
Upgraded AMO library to 19.4.0.2, supporting latest TMSL features
“export-bim” action
New argument added: -transforms RemovePBIDataSourceVersion
TabularModel Serializer
Ignore timestamp properties in TMSL (for *.pbit files)
Sanitize table, hierarchy, and data source names
1.0.0-alpha.2 - 2020-06-10
Improvements to “export-bim” action
Replaced -generateDataSources with -skipDataSources (reversed default)
1.0.0-alpha.1 - 2020-06-09
Changed target framework to .Net 4.7.2 (allows compatibility with external libraries that only support .Net Standard 2.0, rather than legacy .Net Framework versions)
Upgraded AMO library to 19.2.0.2, supporting latest TMSL features
Upgraded various other 3rd party dependencies
Support for new PBIX metadata format (“V3”), introduced in March 2020 version of Power BI Desktop
PbixModel API now available
PBIXPROJ format 0.5
New CLI action: “export-bim”
“info” action: Added ‘version’, ‘pbiSessions’
Compatible with Power BI Desktop May 2020 version
Significantly reduced exe file size by excluding 3rd party satellite assemblies
Support for PBITOOLS_PbiInstallDir, PBITOOLS_LogLevel environment variables
Application icon added
V3 files are supported with LinguisticSchema in either xml (legacy) or json format
0.10.0 - 2019-11-14
Upgraded AMO library to 18.2
Addresses breaking API change in Nov 2019 release (2.75) of Power BI Desktop. Modification is backwards-compatible, however, so will still work with the Oct release.
Details: ReportMetadata now has a dependency on (also added DirectQueryResources, QueryDependencyGraph - for v3 report model)