PBIR Tools v0.9.8
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-cliorpip install pbir-cli(recommended over native installers)Skills (v0.22.4): Run
pbir setupafter installing, or get skills from the
power-bi-agentic-development
marketplace.
New
- Auto-upgrade schemas on validate --
pbir validatenow silently upgrades outdated$schemareferences 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_propertypaths (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 -vnow shows exactly which schema was used, where it came from (bundled/cached/fetched), and whether it's authoritative
Bug Fixes
pbir catno 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: trueno 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_jsoninstead of syntax highlighting - Schema validation now tracks three separate families (report, semantic model, theme) with explicit provenance states
pbir validate --update-schemasflag deprecated -- auto-upgrade happens automatically