Skip to main content
subagent CX Codex

bpa-expression-helper — Claude Code subagent: setup and use

bpa-expression-helper — a subagent for debugging, fixing, and explaining Best Practice Analyzer rule expressions with Dynamic LINQ and TOM properties in Power BI.

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

Install into GitHub Copilot · Manually: put the files in place All methods and platforms ↓
.github/agents/bpa-expression-helper.agent.md
Open on GitHub

What bpa-expression-helper does

The subagent inspects Best Practice Analyzer (BPA) rule expressions for tabular data models. It detects syntax mistakes and broken logic in Dynamic LINQ code. When working through an issue, it uses the Read, Grep, and Glob tools to inspect definitions and cross-check rules against skills/bpa-rules/references/expression-syntax.md.

During evaluation, the assistant reviews the designated Scope and verifies string comparisons or equality operators. It catches frequent errors such as invalid property access across collections, measure attributes applied to column scopes, or missing outerIt qualifiers in nested calls. The subagent relies on skills/bpa-rules/references/expression-syntax.md to look up language details.

Every response follows a predictable layout. The agent states the root cause, delivers the corrected expression, clarifies why the update works, and suggests a simple test case to verify the fix.

What it helps with

  • debug failing Dynamic LINQ expressions in BPA rules
  • resolve scope mismatches between measures and columns
  • write filter expressions targeting unreferenced or hidden model objects
  • fix nested LINQ queries missing outerIt references

Example prompts for the agent

  • My BPA rule does not trigger any warnings, can you check the syntax?
  • Help me create an expression to flag measures that lack descriptions.
  • Why does my rule fail to find hidden columns in this table?

How to install bpa-expression-helper

Manually: put the files in place

.github/agents/bpa-expression-helper.agent.md

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about bpa-expression-helper

How to install bpa-expression-helper in Claude Code?

First add the catalog by running /plugin marketplace add data-goblin/power-bi-agentic-development, then install the package with /plugin install tabular-editor@power-bi-agentic-development.

What does bpa-expression-helper do?

It diagnoses broken Best Practice Analyzer expressions, optimizes Dynamic LINQ logic, and explains how to query Power BI tabular object properties.

Which expression issues does the helper detect?

It spots Scope mismatches, invalid boolean comparisons, improper collection traversals without methods like Any, and missing outerIt keywords in nested queries.

Similar subagents

All subagents for Data and databases →

From the same set59

The whole set →
deneb-reviewer deneb-reviewer validates Vega and Vega-Lite specs for Power BI before presenting them to the user. Catches syntax errors, Deneb convention violations, and offers design feedback. CX Codex +1 ★ 1,104repo stars suggest-rule suggest-rule generates Best Practice Analyzer rules for Tabular Editor from plain text requirements or model files. CX Codex +1 ★ 1,104repo stars migrating-fabric-trial-capacities migrating-fabric-trial-capacities is a Claude Code command that moves Microsoft Fabric workspaces from trial to production capacity through fab CLI, logging each step. CX Codex +1 ★ 1,104repo stars dax A skill for diagnosing and speeding up DAX queries in Power BI semantic models, working through slow measures tier by tier. CX Codex +1 ★ 1,104repo stars query-listener query-listener — a Claude Code subagent that hooks into the local Analysis Services instance and grabs the DAX a Power BI Desktop visual sends. Fire it off when you need to see the query behind a click. CX Codex +1 ★ 1,104repo stars lineage-analysis lineage-analysis finds every Power BI report tied to a semantic model across Fabric workspaces, without needing admin rights. CX Codex +1 ★ 1,104repo stars using-duckdb Query Delta tables and raw files in Fabric OneLake using DuckDB either on your machine or inside a Fabric notebook. CX Codex +1 ★ 1,104repo stars powerbi-custom-visuals powerbi-custom-visuals is a Claude Code skill for building interactive Power BI visuals with the pbiviz toolchain, from project setup through packaging and certification prep. It supports visuals reused across reports. CX Codex +1 ★ 1,104repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open