Skip to content
Back to skills

Dax

ASecurity

DAX performance optimization for semantic models. Automatically invoke when the user asks to \"optimize DAX\", \"fix slow DAX\", \"DAX performance\", \"tune a measure\", \"debug a measure\", \"DAX anti-patterns\", or mentions slow queries, server timings, or DAX authoring.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
ai-agentsgosqldebugginggitperformance

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill dax --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dax?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dax
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-dax/badge)](https://www.skillsdirectory.com/skills/thedixitjain-dax)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dax
description: "DAX performance optimization for semantic models. Automatically invoke when the user asks to \"optimize DAX\", \"fix slow DAX\", \"DAX performance\", \"tune a measure\", \"debug a measure\", \"DAX anti-patterns\", or mentions slow queries, server timings, or DAX authoring."
category: engineering-core
source_repo: data-goblin/power-bi-agentic-development
source_path: "plugins/semantic-models/skills/dax/SKILL.md"
source_url: https://github.com/data-goblin/power-bi-agentic-development/blob/HEAD/plugins/semantic-models/skills/dax/SKILL.md
---
# DAX

Skills and references for writing, debugging, and optimizing DAX in semantic models.

## Optimization

For systematic DAX query performance optimization, read the workflow reference first:

**[`references/dax-performance-optimization.md`](./references/dax-performance-optimization.md)** — Tiered framework (4 tiers), phased workflow, decision guide, and error handling.

Detailed reference files (progressive disclosure — consult as directed by the workflow):

- **[`references/engine-internals.md`](./references/engine-internals.md)** — FE/SE architecture, xmSQL, compression/segments, SE fusion, trace diagnostics
- **[`references/dax-patterns.md`](./references/dax-patterns.md)** — Tier 1 DAX patterns (DAX001–DAX021) + Tier 2 query structure (QRY001–QRY004)
- **[`references/model-optimization.md`](./references/model-optimization.md)** — Tier 3 model patterns (MDL001–MDL009) + Tier 4 Direct Lake (DL001–DL002)

Trace capture and performance profiling:

- **Local models (Power BI Desktop):** Use the Tabular Editor CLI `te query` (see the [`te-cli` skill](../../../tabular-editor/skills/te-cli/)) first; as an alternative, the [`connect-pbid` skill](../../../pbi-desktop/skills/connect-pbid/) covers FE/SE timing (`performance-profiling.md`) and intermediate result inspection (`evaluateandlog-debugging.md`).
- **Remote models (Fabric Service / XMLA):** Run DAX with the Tabular Editor CLI `te query` (`-s <workspace> -d <model>`) against the workspace XMLA endpoint; see the [`te-cli` skill](../../../tabular-editor/skills/te-cli/) (tabular-editor plugin).
- **Power BI Modeling MCP:** also available for trace and query if you prefer an MCP tool; reach for it after the options above.

## Related Skills

- [`semantic-model`](../semantic-model/) — Model design, build, and auditing including DAX anti-patterns and best practices
- [`connect-pbid` (pbi-desktop plugin)](../../../pbi-desktop/skills/connect-pbid/) — Trace capture, performance profiling, EVALUATEANDLOG debugging
- [`lineage-analysis`](../lineage-analysis/) — Impact analysis before model changes

---

**Source:** [`data-goblin/power-bi-agentic-development`](https://github.com/data-goblin/power-bi-agentic-development) → `plugins/semantic-models/skills/dax/SKILL.md`

Files in this skill

  • SKILL.md2.8 KB
  • references/dax-patterns.md22.4 KB
  • references/dax-performance-optimization.md18 KB
  • references/engine-internals.md14.7 KB
  • references/model-optimization.md7.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.