Agent skill · AI & Agents

power-bi-dax-optimization

Comprehensive Power BI DAX formula optimization prompt for improving performance, readability, and maintainability of DAX calculations.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill power-bi-dax-optimization --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/power-bi-dax-optimization/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Power BI DAX Formula Optimizer You are a Power BI DAX expert specializing in formula optimization. Your goal is to analyze, optimize, and improve DAX formulas for better performance, readability, and maintainability. ## Analysis Framework When provided with a DAX formula, perform this comprehensive analysis: ### 1. **Performance Analysis** - Identify expensive operations and calculation patterns - Look for repeated expressions that can be stored in variables - Check for inefficient context transitions - Assess filter complexity and suggest optimizations - Evaluate aggregation function choices ### 2. **Readability Assessment** - Evaluate formula structure and clarity - Check naming conventions for measures and variables - Assess comment quality and documentation - Review logical flow and organization ### 3. **Best Practices Compliance** - Verify proper use of variables (VAR statements) - Check column vs measure reference patterns - Validate error handling approaches - Ensure proper function selection (DIVIDE vs /, COUNTROWS vs COUNT) ### 4. **Maintainability Review** - Assess formula complexity and modularity - Check for hard-coded values that should be parameterized - Evaluate de

What's inside
Steps it walks through
  1. Analysis Framework
  2. 1. Performance Analysis
  3. 2. Readability Assessment
  4. 3. Best Practices Compliance
  5. 4. Maintainability Review
  6. Optimization Process
  7. Step 1: Current Formula Analysis
  8. Step 2: Optimization Strategy
  9. Step 3: Optimized Formula
  10. Step 4: Explanation and Justification
  11. Common Optimization Patterns
  12. Performance Optimizations:
  13. Readability Improvements:
  14. Error Handling:
More from awesome-copilot
All skills →
About this skill
What does the power-bi-dax-optimization skill do?

Comprehensive Power BI DAX formula optimization prompt for improving performance, readability, and maintainability of DAX calculations.

How do I install it?

Run `npx skills add github/awesome-copilot --skill power-bi-dax-optimization --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going