PB

    Power BI DAX Measure Audit

    by Vikram R

    1

    (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

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed2 days ago
    Updatedtoday

    What's inside

    Frequently Asked Questions

    Your Power BI grand total is wrong? Audit your DAX measures for slow SUMX, wrong grand totals, and CALCULATE filters that do nothing — and get a ranked findings table with a concrete fix for every finding. Free, runs in minutes, no Power BI connection needed.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Power BI DAX Measure Audit on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Free