- Home
- Skills
- Data & Databases
- Power BI DAX Expert for Codex
Power BI DAX Expert for Codex
by Edaly Kare
Author, debug and review Power BI DAX measures with model context, BLANK and total checks, local lexical diagnostics, and explicit engine test queries.
$15
Power BI DAX Expert for Codex
Example session with this skill installed
Illustrative example: Use $dax-expert to define Profit Margin from existing [Profit] and [Revenue] measures. Return BLANK for a zero denominator and provide tests for detail rows and totals.
- Read your context and instructions
- Compiled the power bi dax
Illustrative deliverable — not a recorded engine run
Assumptions: [Profit] and [Revenue] already exist and their aggregation semantics have been reviewed. The requested behavior is BLANK when revenue is zero or BLANK.
Profit Margin = DIVIDE([Profit], [Revenue])
DIVIDE evaluates the ratio in the current filter context. At a total, this computes total profit divided by total revenue rather than averaging row percentages. Preserve existing model security and relationships.
Verification to perform on the target model
- Compare the original and candidate on detail rows, subtotals and the grand total.
- Include empty selections, zero revenue, BLANK inputs and the relevant security roles.
- Run local lexical diagnostics; they do not prove DAX correctness.
- Evaluate result queries in an authorized Microsoft engine before accepting the change.
No engine execution, performance improvement or actual project edit is claimed by this illustrative example.
Connects securely to your tools. The creator never sees your data.
About this skill
Write and review DAX with model context
Guide Codex through business grain, relationships, row and filter context, context transition, zero denominators and BLANK behavior. Produce focused measure changes, assumptions and runnable EVALUATE test queries.
The bundled dax/check helper flags lexical and structural issues; it cannot validate function signatures or query results. DAX Studio, Power BI Desktop or an authorized Microsoft model connection is needed to evaluate results. Performance improvements require measured timings.
Package and setup
Part of Power BI Codex Toolkit 0.1.0. Includes SKILL.md, task references, Python helper source, LICENSE and ATTRIBUTIONS.md. Requires Python 3.11+ and an agent with local file and terminal access. If the Agensi connector does not expose supporting files locally, install this skill from the free GitHub repository before running helper commands. See README-AGENSI.md for setup.
License and validation limits
Open source under GPL-3.0-only; preserve the supplied license and attribution notices. Source: https://github.com/edalykare/power-bi-codex-toolkit Local checks are structural and lexical heuristics. They do not replace the Microsoft DAX engine or TMDL serializer, Tabular Editor BPA, report rendering, or live Fabric validation. No remote deployment or refresh is performed by the bundled CLI.
The source is also available free of charge on GitHub. This Agensi listing offers the packaged skill through the marketplace; buying it does not grant exclusive rights or change the GPL license.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 15 days ago
- Software
Python 3.11+
Git
Python 3.11+ and local file/terminal access are required for helpers. If Agensi does not expose scripts locally, install the free GitHub toolkit. See README-AGENSI.md. GPL-3.0-only.
Permissions
Read local model/project files; run the offline Python helper. Write only requested local edits or outputs. No credentials, environment variables or network access are required by the helper. Optional engine connections need separate user authorization.
What's inside
Creator
Edaly Kare
9 skills on Agensi
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.