Skip to content

PBIR Tools v0.9.8

Choose a tag to compare

@maxanatsko maxanatsko released this 10 Apr 19:42
· 3 commits to main since this release

Important: This tool works best for targeted, iterative changes to existing reports -- formatting, property adjustments, field binding, theme changes, validation. It's not designed to replace your thinking or design, and it's also constrained by the brittle limitations of Power BI reports, themselves.

Install: uv tool install pbir-cli or pip install pbir-cli (recommended over native installers)

Skills (v0.22.4): Run pbir setup after installing, or get skills from the
power-bi-agentic-development
marketplace.


New

  • Auto-upgrade schemas on validate -- pbir validate now silently upgrades outdated $schema references to the latest bundled versions before validation, enabling full visual-type-specific checks without a separate step
  • Per-series/field/state selector syntax for get_property / set_property paths (e.g. set formatting per data series)
  • Thick PBIX graceful error -- converting a thick PBIX now shows clear steps (open in Desktop, Save As PBIP) instead of a cryptic module error
  • Schema provenance tracking -- pbir validate -v now shows exactly which schema was used, where it came from (bundled/cached/fetched), and whether it's authoritative

Bug Fixes

  • pbir cat no longer crashes with "No module named pygments" in the binary installer (fixes #11, #13)
  • Field resolver now correctly detects measures vs columns using the connected model, replacing broken DMV queries (fixes #7 measure binding)
  • active: true no longer emitted on query projections, preventing Desktop crashes when adding fields to tables (fixes #7 active property)
  • camelCase data role names (e.g. smallMultiples) now resolve correctly via visual-type-aware matching
  • New reports now use the latest bundled schema versions instead of hardcoded old ones

Changes

  • Pygments dependency fully removed -- JSON output uses console.print_json instead of syntax highlighting
  • Schema validation now tracks three separate families (report, semantic model, theme) with explicit provenance states
  • pbir validate --update-schemas flag deprecated -- auto-upgrade happens automatically