SkillsReviewed · data-goblin

connect-pbid: Power BI Desktop assistant skill

connect-pbid is an AI assistant skill for Power BI developers who want to automate model work, but its main workflow needs a local Windows model and can commit changes that Desktop cannot undo. It combines PowerShell instructions, Microsoft model APIs, DAX diagnostics and a DAX library package helper; report authoring requires separate tools.

Researched 16 Nov 2026

In short.

connect-pbid is an AI assistant skill for Power BI developers automating local model work, but it can save changes that Desktop cannot undo. Its substantial references and scripts cover model inspection, DAX queries, metadata changes, refreshes, debugging and DAX library management. Important limitations include automatic model compatibility upgrades, inconsistent API examples and incomplete failure cleanup. Nothing was executed; runtime reliability, performance benefits and compatibility with a particular Desktop build are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the supplied plugins/pbi-desktop/skills/connect-pbid folder at revision aa13b20b014242513a2ae9efa1eca53e29e31e9a: SKILL.md, daxlib.sh, all supplied reference documents and scripts, including the C# helper, project file and .gitignore. The repository-level LICENSE is the related notice above the folder. Excludes the remaining repository, plugin hooks, sibling skills, separately referenced agent definitions, downloaded registry packages and external tool implementations. Nothing was executed. Live connections, dependency installation, model changes, refreshes, reversals, file round-trips, timing accuracy, compatibility upgrades and screenshots remain unassessed at runtime.

The overview

What it is

connect-pbid is a folder-based assistant skill in data-goblin/power-bi-agentic-development. Its SKILL.md supplies instructions for an assistant, supported by reference documents, PowerShell examples, a Bash package wrapper and a C# helper. It is not a standalone conversational application.

The original source folder is [https://github.com/data-goblin/power-bi-agentic-development/tree/main/plugins/pbi-desktop/skills/connect-pbid]. The supplied material is pinned to revision aa13b20b014242513a2ae9efa1eca53e29e31e9a. Its primary target is the semantic model: the tables, relationships and calculations behind a Power BI report.

Overall assessment

The strongest fit is a Power BI developer who wants an assistant to inspect or script an already open local model. The material connects model changes with query checks and report screenshots, and explains practical details such as distinguishing multiple Desktop instances and reading fully qualified query-result columns.

It needs careful adaptation before use on a valuable model. The package helper commits compatibility upgrades separately from function installation, and the modification demonstration saves real changes before attempting to reverse them. The instructions describe validation hooks, but their implementations are outside the supplied folder, so their enforcement is unknown.

Who it suits

Experienced Power BI developers and analytics engineers are the clearest audience, particularly those comfortable with DAX, PowerShell and model metadata. Beginners can use the inspection examples to understand a model, but editing relationships, security roles or refresh behavior requires knowledge beyond copying a command.

Mac users have a documented route through a Windows virtual machine in Parallels. Developers inspecting saved model definitions also get an offline TMDL/BIM workflow. Teams working primarily with remote Fabric or Direct Lake models need a different connection route.

What it includes

The supplied scripts inspect tables, columns, measures, hierarchies, partitions, relationships and security roles. References extend this to calculation groups, expressions, annotations, field parameters and calendar metadata. Export and offline-loading examples cover BIM and TMDL model definitions.

DAX material covers querying, expression checks, filter-context mistakes, intermediate-value tracing, query timing and VertiPaq storage statistics. A polling example captures the most recent visual query in each local engine session. The daxlib wrapper searches and downloads reusable DAX functions and delegates model installation, updating and removal to its C# helper.

Report-canvas coverage is limited to reloading definitions and taking screenshots through the Desktop Bridge. Creating or changing visuals, pages, formatting and bookmarks is assigned to separate report tools.

Using it

Requirements

Live model operations require Power BI Desktop running on Windows with a local model loaded, PowerShell and the relevant Microsoft client libraries. TOM manages metadata; ADOMD.NET executes queries. The PowerShell examples expect NuGet-installed retail.amd64 assemblies under lib/net45. The evidence does not establish a minimum supported Desktop build or assistant version.

The Bash package wrapper requires Bash 3.2 or later, jq and either gh or curl. Model package operations additionally require the .NET 8 SDK; the helper project pins Microsoft.AnalysisServices to version 19.113.2. On macOS, the documented live route needs Parallels, a running Windows VM and shared folders.

Desktop Bridge operations require a preview setting and a Desktop restart. The references specify compatibility level 1702 or later and the DAX UDF preview feature for reusable functions. Calendar column groups are documented as requiring level 1604 or later, with Desktop support dependent on the version.

How it works

Power BI Desktop hosts a local Analysis Services process. The examples discover its listening port and connect to localhost. TOM exposes model objects for inspection and modification; ADOMD.NET sends DAX queries and returns rows. SaveChanges() commits pending model changes, while UndoLocalChanges() discards changes that have not been committed.

The report canvas uses a separate Windows named pipe. The documented Desktop Bridge speaks JSON-RPC with Content-Length framing and exposes methods for inspecting application state, reloading report definitions and capturing page images. It does not author visuals.

The daxlib wrapper downloads manifests and function definitions from the daxlib GitHub repository. For model operations it invokes the bundled C# project through dotnet run. That helper parses function definitions and uses TOM to manage functions. Offline TMDL/BIM loading instead creates an in-memory metadata object, with serialization required to save it back to disk.

Getting started

Keep SKILL.md, references, scripts and daxlib.sh together from the same revision: the documentation and helper discovery use relative paths. The supplied folder does not establish a complete assistant-plugin installation procedure.

For an initial live session, prepare the required libraries, open a copy of a local-model report and identify its engine port. If several reports are open, correlate the port with the intended Desktop process and file before editing. The instructions describe pbir desktop list for this mapping when its prerequisites are available.

Begin with connect-and-enumerate.ps1 or explore-model.ps1 and an explicit port. Prepare bridge or UDF preview features only for tasks that need them. The Mac wrapper runs sibling PowerShell scripts through Parallels shared folders rather than connecting to the Windows engine remotely.

Example use

For a model containing a Sales table, supply EVALUATE ROW("Count", COUNTROWS('Sales')) to scripts/query-dax.ps1 through its Query parameter, together with the verified Port. The script is designed to print result-column names, row values and a row count. No actual result or execution time is available.

A later editing task could create a Total Revenue measure with SUM('Sales'[Amount]), a description and a number format. The references distinguish this query-time calculation from a calculated table or column, which needs recalculation after creation. Any business result would still need comparison with expected totals and relevant report filters.

Assessment & evidence

Important limitations

The local connection route excludes remote XMLA models and Direct Lake models. Thin reports can expose a local engine with no database because their model lives elsewhere. Offline metadata loading cannot execute DAX or refresh data without a running engine.

Saved TOM changes and refreshes lack Desktop Ctrl+Z recovery. External file edits also have different application rules: report-definition reloads do not generally apply on-disk model or theme changes, and unsaved Desktop state may overwrite report edits. The bridge's actual availability and response handling on a particular build were not assessed.

The query listener polls each session's last command rather than a history, so it can miss intermediate queries or receive truncated text. EVALUATEANDLOG traces can be delayed, omitted by engine optimization or truncated. The timing examples provide measurement procedures, not evidence of a speed improvement.

Partial DAX library downloads filter function declarations without resolving their dependencies. The C# parser recognizes quoted function declarations and specifically indented annotations; its handling of other valid layouts is not established.

Why careful adaptation matters

The package helper's add and update paths raise models below compatibility level 1702 using db.Update() before reading and parsing the downloaded function file. This is a separate committed operation, so a later installation error can leave the compatibility upgrade in place. The reference calls the upgrade irreversible and warns about older-tool compatibility; the helper itself contains no confirmation prompt.

Package-wide removal matches the package annotation, but removal with an explicit function name first accepts any exact function-name match without checking that annotation. The code therefore offers less protection against removing an unrelated function than a package identifier alone might suggest. The modification demonstration also performs its reversal as later operations, without a surrounding failure-cleanup guarantee.

There are concrete documentation inconsistencies. The annotation reference uses a singular GroupByColumn property, while the field-parameter script builds a GroupByColumns collection. UDF references use UserDefinedFunctions and UserDefinedFunction, while the helper uses Functions and Function. The debugging reference says cached results prevent trace events and uses a fixed delay; SKILL.md says warm-cache runs still emit events, and debug-dax.ps1 polls for delayed delivery.

The query-listener example has a directly visible reporting mismatch: its selected elapsed-time field is at index 4, but the printed elapsed value comes from index 5, the CPU-time field. These findings come from the supplied text and code; no runtime failures were observed.

Other routes described

The skill itself prefers a Tabular Editor CLI or Power BI model MCP server when available, positioning direct PowerShell/TOM work as a fallback. Its remote-model guidance also points to those tools rather than the Desktop proxy.

For query performance investigation, the references describe DAX Studio's Server Timings interface. For report authoring and bridge operations, they point to pbir and related skills. Offline model editing and Fabric import/export are also documented as separate paths. Their current capabilities, prices and relative reliability were not independently assessed.

Evidence and its limits

The evidence consists of the supplied skill instructions, references, scripts, helper source and project definition, plus the repository licence. This establishes what is documented and what operations appear in the code. It includes no execution logs, successful build output, model comparisons, screenshots or measured benchmarks.

The fixed source folder is [https://github.com/data-goblin/power-bi-agentic-development/tree/aa13b20b014242513a2ae9efa1eca53e29e31e9a/plugins/pbi-desktop/skills/connect-pbid]. Links to Microsoft documentation and external tools identify further references; their contents and implementations are not established by these files.

Access & freshness

Costs

A total price is unknown. The supplied files provide no fee schedule for the skill, assistant usage, Windows, Parallels or optional tools. They also provide no measured operating cost or time-saving result.

The main examples use local model APIs, but dependency installation downloads NuGet packages and registry commands make GitHub requests. Full refresh operations can re-query configured data sources. Any related assistant, software or data-source charges need to be established separately.

Licence and reuse

The supplied repository-level LICENSE contains the GNU General Public License, version 3. It permits use, modification and redistribution subject to its terms. Redistributing unchanged covered source requires preserving applicable copyright, licence and warranty notices and providing the licence. Distributing modified covered source adds change-notice and copyleft requirements.

The licence disclaims warranty. No folder-specific exception appears in the supplied material. This repository notice does not establish the terms for downloaded DAX libraries, Microsoft dependencies, Parallels or other external tools. The source notice is available at [https://raw.githubusercontent.com/data-goblin/power-bi-agentic-development/aa13b20b014242513a2ae9efa1eca53e29e31e9a/LICENSE].

Version and freshness

The supplied snapshot was captured on 2026-11-16 at 22:28:37 UTC from revision aa13b20b014242513a2ae9efa1eca53e29e31e9a. That identifies the source material, not compatibility with every Desktop installation. Later upstream changes and the latest available release are unknown.

Dependency behavior is only partly pinned. The C# project specifies Microsoft.AnalysisServices 19.113.2, while several PowerShell scripts install packages without a version. The registry wrapper fetches from the external repository's main branch and usually resolves a package version dynamically. Its help labels the wrapper 0.1.0; this does not establish a version for the entire skill.

Practical next steps

Start with a saved copy of a local-model report, verify the file-to-port mapping and use read-only enumeration plus a small query. Establish the installed Desktop build, model compatibility level and client-library versions before relying on newer APIs.

Before package installation or updating, inspect the compatibility-upgrade path, choose an explicit package version and check any selected functions' dependencies. Review explicit function removals by their actual names. Adapt the inconsistent field-parameter and UDF examples to the installed API rather than assuming they are interchangeable.

For an editing task, check expected business results before and after the change, then inspect affected report pages. Treat engine acceptance, correct totals and correct rendering as separate requirements. Resolve the listener's timing-field mismatch before using its printed durations, and verify cleanup behavior before relying on a script's promised reversal.

Evidence for this report

LICENSEnotice · checked 2026-11-16