Skip to main content
skill CX Codex

querying-fabric — Claude Code skill for Fabric queries

querying-fabric is a Claude Code skill that builds and tests DAX queries for Fabric and Power BI semantic models. It prepares data for dashboard KPIs, charts, and tables.

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 dashboards@power-bi-agentic-development
Open on GitHub

What querying-fabric does

The skill starts by locating a semantic model and reading its schema, then uses existing measures to answer a business question. It creates a separate DAX query for each visual, checks the files with lint_dax.py, runs them through run_dax_query, and compares results with a known total. T-SQL is covered for Fabric SQL endpoints.

A KPI should include its value, target, and trend. Selecting a mark in one visual should filter the others, with query parameters carrying the selection. The skill also addresses measures that require a currency or period selection. Fix lint errors before running a query; some measures return blank when a required selection is missing.

What it helps with

  • find the right measures in a semantic model
  • write a DAX query for a KPI or chart
  • lint and run queries before wiring up a dashboard
  • pass visual selections through crossfilters
  • compare a query result with a trusted total

Example prompts for the agent

  • Build a KPI from the Power BI model using an existing measure, target, and trend.
  • Lint the DAX files in queries/*.dax, then run them with run_dax_query.
  • Wire the dashboard visuals so selecting a dimension filters the others.

How to install querying-fabric

1Plugin marketplace

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

This installs the whole dashboards plugin with all its skills

2Skills CLI (Vercel)

npx skills add data-goblin/power-bi-agentic-development --skill querying-fabric -a claude-code

3Manually: put the files in place

~/.claude/skills/querying-fabric/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/querying-fabric/

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

Questions about querying-fabric

How do I install querying-fabric in Claude Code?

Add the marketplace with /plugin marketplace add data-goblin/power-bi-agentic-development, then install the plugin with /plugin install dashboards@power-bi-agentic-development.

What does querying-fabric do?

It guides Claude Code through finding measures in Microsoft Fabric and Power BI models, then writing and testing DAX queries for dashboards. It also covers T-SQL for Fabric SQL endpoints.

Why might a measure return a blank value?

Some measures depend on a slicer selection, such as a currency or period. Pass that selection as a filter and display it in the dashboard.

Similar skills

All skills for Data and databases →
microsoft-fabric-unified-analytics reason-machines microsoft-fabric-unified-analytics walks you through a Fabric analytics stack: OneLake layers, a Dataflow Gen2 cleaning step, PySpark gold tables and Power BI on top. CX Codex +1 282installs azure-mgmt-fabric-py Microsoft azure-mgmt-fabric-py — a skill for Claude Code and GitHub Copilot that brings the Azure Fabric Management SDK for Python into your project. The agent writes code to manage Microsoft Fabric capacities: create, update, suspend, delete. CX Codex +1 ★ 3,232repo stars 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 extension-querying-oql caffeinelabs extension-querying-oql is a Claude Code skill for querying an OQL backend canister via icp, fetching schemas, and reading Candid rows. CX Codex +1 29,000installs

From the same set59

The whole set →
semantic-model-auditor semantic-model-auditor audits Power BI and Fabric semantic models for memory bottlenecks, schema issues, and DAX anti-patterns by inspecting exported TMDL files. CX Codex +1 ★ 1,104repo stars create-pbi-report create-pbi-report is a Claude Code skill that builds Power BI reports from semantic models, from page planning to validation and publishing. CX Codex +1 ★ 1,104repo stars c-sharp-scripting c-sharp-scripting is a Claude Code skill that runs C# scripts through Tabular Editor 2/3 to automate bulk changes to Power BI measures, columns, calculation groups, and model security. CX Codex +1 ★ 1,104repo stars pbip Guides Claude Code on structuring Power BI Project (PBIP) files, managing thick vs thin reports, and configuring Git tracking. CX Codex +1 ★ 1,104repo stars review-report review-report — a skill that runs a structured check on a Power BI report, telling you whether people actually open it and giving ranked recommendations. CX Codex +1 ★ 1,104repo stars svg-visuals svg-visuals builds inline SVG charts in Power BI PBIR reports using DAX formulas. Handy for rendering sparklines, bullet bars, and gauges inside tables or card visuals. CX Codex +1 ★ 1,104repo stars pbir-format This skill helps Claude Code inspect Power BI reports in PBIR format and make changes through pbir. Use it to work with report pages, visuals, filters, and themes. CX Codex +1 ★ 1,104repo stars improve-my-agent-setup improve-my-agent-setup is a Claude Code skill that reviews an agent-assisted development setup and suggests changes. Run it for a setup check or a workflow assessment. CX Codex +1 ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open