Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Optimizes slow DAX measures and queries in semantic models, covering anti-patterns, server timings, and model-level tuning.
45% 95%+50 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 10 of 22 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Tier 1 DAX patterns (DAX001-DAX021) and Tier 2 query structure patterns (QRY001-QRY004).
Related references: Engine Internals · Model and Direct Lake Optimization
Autonomy: Auto-apply freely. Modify only measure/UDF definitions in the DEFINE block. Keep EVALUATE and SUMMARIZECOLUMNS grouping identical.
Candidate optimizations, not guarantees: Each pattern is a hypothesis to test. Cardinality, data layout, relationships, filters, storage mode, and engine folding can make a rewrite help, do nothing, or hurt. Apply one or more matching patterns, validate trace/runtime and semantic equivalence after each step, and continue iterating because one rewrite can expose the next optimization opportunity. Keep changes that help; revert changes that do not.
Prefer SUMMARIZECOLUMNS: Fully supported inside measure definitions — earlier restrictions no longer apply. Use it to replace
ADDCOLUMNS/SUMMARIZEpatterns (DAX002), pre-materialize context transitions before iterating (DAX006), and cache repeated evaluations into a single virtual table (DAX003). Prefer it overADDCOLUMNS(VALUES(...), ...)unless a specific scenario prevents it.
Identifier: FILTER(Table, ...) as a filter argument, or combined predicates. Verify trace; simple cases can fold to WHERE.
Action: Keep filters column-scoped. Replace table filters with boolean predicates, and split && into separate filter arguments.
Anti-pattern — FILTER with table expression uses an iterator:
CALCULATE(
SUM('Sales'[Amount]),
FILTER('Product', 'Product'[Category] = "Electronics")
)
Preferred — column predicate, no iterator:
CALCULATE(
SUM('Sales'[Amount]),
KEEPFILTERS( 'Product'[Category] = "Electronics")
)
Anti-pattern — && joins predicates into a single iterator argument:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.