What problem does it solve? Power BI Desktop runs a hidden local Analysis Services engine, but there is no built-in way for an agent to query or modify the open model programmatically. This Skill provides the PowerShell-based TOM and ADOMD.NET guidance to discover the engine's port, connect, run DAX queries, and safely edit model metadata without manual clicking in the Desktop UI. ## Core Features & Use Cases - Model Connection & Enumeration: Discover msmdsrv.exe listening ports, correlate them to open PBIX/PBIP files, load TOM assemblies, and enumerate tables, columns, measures, and relationships. - DAX Querying & Validation: Execute DAX queries via ADOMD.NET, validate measure expressions before saving, and capture query traces from the report canvas. - Model Modification: Create, update, and delete measures, columns, relationships, roles, field parameters, calendar definitions, and annotations with atomic SaveChanges transactions and rollback. - DAX Library Management: Search, download, install, and remove daxlib.org DAX function packages using the bundled daxlib.sh CLI. - Use Case: You have a PBIP file open in Power BI Desktop and need to add 20 formatted measures, verify them with test DAX queries, then reload and screenshot the report canvas to confirm the visuals update correctly. ## Quick Start Ask the agent to connect to the open Power BI Desktop file and list all tables and measures in the model.