What problem does it solve?
Power BI Desktop exposes no official API for programmatically querying or modifying the semantic model of an open report. This Skill lets an agent connect to Desktop's local Analysis Services instance to enumerate models, run DAX queries, modify metadata, and verify report-canvas changes without manual clicking.
Core Features & Use Cases
- Model connection and enumeration: Discover msmdsrv.exe ports, connect via the Tabular Object Model (TOM), and list tables, columns, measures, relationships, roles, and calculation groups.
- DAX querying and validation: Execute DAX queries through ADOMD.NET, validate expressions before saving, capture query traces, and debug with EVALUATEANDLOG.
- Model modification: Create, update, and delete measures, columns, relationships, roles, field parameters, annotations, and calendar definitions with atomic SaveChanges transactions.
- DAX library management: Search, download, install, and remove daxlib.org packages (e.g., DaxLib.SVG, IBCS) via the bundled daxlib.sh CLI.
- Use Case: Ask the agent to add a "Total Revenue" measure to the open PBIP file, then reload and screenshot the report canvas through the Desktop Bridge to verify the change.
Quick Start
Connect to my open Power BI Desktop file and list all tables and measures in the model.