Power BI DAX Measure Audit
by Vikram R
(2) Wrong grand totals — an IF() that works per row but evaluates the wrong branch on the grand total, or a / that divides by zero in the total row.
Free
Works with the AI Agents you already use
About this skill
Three failure modes keep showing up in Power BI models, and all three are cheap to fix once found — expensive to debug in a stakeholder meeting: (1) Slow measures — a SUMX over millions of rows, or a SUMMARIZE materialising a table inside a measure, makes a visual crawl. (2) Wrong grand totals — an IF() that works per row but evaluates the wrong branch on the grand total, or a / that divides by zero in the total row. The rows add up; the total doesn't. (3) Missing filters — a CALCULATE() with no filter argument that silently changes nothing, while the author assumed it filtered.
How it works: script-first, stdlib-only, no Power BI connection, no credentials. Supply a CSV of measures, run scripts/main_pipeline.py for the ranked findings report (Markdown + JSON), run scripts/validate_output.py which must report 0 errors, and present the ranked table with one fix per finding and the clean measures listed separately. No measure text leaves your machine.
Verified sample output: real dry run on the included 8-measure sample — 8 audited, 6 findings (2 High, 4 Medium), validator 0 errors. High findings: a SUMMARIZE inside a measure, and a SUMX over 2,400,000 rows. Clean measures: Total Sales, Sales YTD. Sample data is fictional and labelled as such.
Limits: static text checks only — they catch common shapes, not every slow query. Confirm slow patterns with DAX Studio / Performance Analyzer before rewriting a production measure. Row counts come from the input CSV. No live Power BI connection, no DAX execution, no refresh, no credentials required.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
Python 3.8+