Power bi dax optimization
Comprehensive Power BI DAX formula optimization prompt for improving performance, readability, and maintainability of DAX calculations.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: power-bi-dax-optimization
description: 'Comprehensive Power BI DAX formula optimization prompt for improving performance, readability, and maintainability of DAX calculations.'
---
# 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 dependency management
- Review reusability potential
## Optimization Process
...From github's repository, MIT licence.
Related skills
-
Checked
Spreadsheet formula explainer
Explains a tangled spreadsheet formula step by step and rebuilds it with helper columns anyone can follow.
7/101 credit -
Checked
Excel file builder
Creates and edits Excel files whose formulas carry their values, so totals show in every viewer and preview.
8/101 credit -
Checked
Spreadsheet audit
Opens your actual spreadsheet, traces formulas and ranks the errors, so you know it is safe to present.
7/101 credit -
Checked
Spreadsheet fixer
Fixes broken formulas, builds Excel files with charts and automates Google Sheets, all from a plain request.
9/101 credit -
Checked
Google Sheets automation
Builds Google Apps Script menus, triggers, sidebars and email batches, so repeat Sheets work runs itself.
8/101 credit -
Checked
CSV and Excel merging
Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.
7/101 credit