Skip to main content
skill CX Codex

connect-pbid — Claude Code skill for Power BI: setup and use

connect-pbid is a Claude Code skill that connects to a local Power BI Desktop model for DAX queries and metadata work while the model is open on the same machine.

GPL-3.0 ★ 1,104 updated 2026-10-28

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install pbi-desktop@power-bi-agentic-development
Open on GitHub

What connect-pbid does

connect-pbid guides Claude Code through PowerShell, TOM, and ADOMD.NET to work with a local Power BI Desktop model. It can enumerate model objects, run DAX queries, and change metadata; call $model.SaveChanges() to persist edits. For report checks, it can also reload the canvas and capture a page through the Desktop Bridge.

Power BI Desktop must be open with a loaded model, and PowerShell must be available on that machine. Package installation uses the NuGet CLI, the TOM package Microsoft.AnalysisServices.retail.amd64, and the ADOMD.NET package Microsoft.AnalysisServices.AdomdClient.retail.amd64. The connection is local only: remote XMLA models and Direct Lake are outside its scope. Use pbir-cli for visuals and page edits; the Desktop Bridge handles reloads and screenshots, not authoring.

What it helps with

  • connect to a local Power BI Desktop model
  • run DAX against the open model
  • edit and save model metadata
  • reload the report canvas and capture a page

Example prompts for the agent

  • Connect to the open Power BI Desktop model and list its tables.
  • Run a DAX query against the local model and show the result.
  • Reload the report canvas and capture a page with the Desktop Bridge.

How to install connect-pbid

1Plugin marketplace

/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install pbi-desktop@power-bi-agentic-development

This installs the whole pbi-desktop plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill connect-pbid -a claude-code

3Manually: put the files in place

~/.claude/skills/connect-pbid/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/connect-pbid/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about connect-pbid

How do I install connect-pbid in Claude Code?

Run /plugin marketplace add data-goblin/power-bi-agentic-development, then run /plugin install pbi-desktop@power-bi-agentic-development.

What does connect-pbid do?

It guides Claude Code in connecting to a local Power BI Desktop model with PowerShell, TOM, and ADOMD.NET. It supports DAX queries, metadata edits, and report-canvas checks.

Can connect-pbid connect to Direct Lake or remote models?

No. It connects to the local Analysis Services instance; Direct Lake and remote models over XMLA are not supported.

Similar skills

SKILL.md skills catalog →
sql-jdbc-access-design Samuel Berthe sql-jdbc-access-design designs how a product exposes its data to customers over live SQL: a JDBC/ODBC endpoint, a warehouse share, or a hosted query surface. Use it before the first customer connects. CX Codex +1 10,100installs powerbi-modeling official github The powerbi-modeling skill helps build and review Power BI semantic models, write DAX, and configure relationships. Use it when the model includes RLS or complex calculations. CX Codex +1 9,934installs power-bi-report-design-consultation official github The power-bi-report-design-consultation skill guides Power BI report planning, from chart choices to page layout and accessibility. Use it when a report needs to support specific decisions for a defined audience. CX Codex +1 9,390installs logifleet-pulse-supply-chain-analytics reason-machines logifleet-pulse-supply-chain-analytics is a Claude Code skill for planning logistics analytics with MS SQL Server and Power BI. It activates on requests about warehouse and fleet models, reports, or optimization. CX Codex +1 659installs power-bi-retail-analytics-salespulse360 reason-machines power-bi-retail-analytics-salespulse360 is a skill that deploys and tunes the SalesPulse 360 Power BI retail dashboard for revenue tracking, regional margins, and predictive forecasting. CX Codex +1 659installs powerbi-expert PCL Team powerbi-expert — a skill that turns your agent into a Power BI specialist: DAX, M language, data modeling, Power Query and report design. Handy when measures or the model need fixing. CX Codex +1 383installs

From the same set59

The whole set →

Project sponsors

Companies that keep this analytics open