power-bi-dax-optimization
Skill by Reihantt6
Analyzes and optimizes Power BI DAX formulas for performance, readability and maintainability. It is a prompt for AI assistants used by people who write or review DAX measures.
Install power-bi-dax-optimization
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Reihantt6/sns-myagent /tmp/sns-myagent && mkdir -p ~/.claude/skills && cp -r /tmp/sns-myagent/agent/skills/power-bi-dax-optimization ~/.claude/skills/power-bi-dax-optimizationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install power-bi-dax-optimization in Claude Code
git clone --depth 1 https://github.com/Reihantt6/sns-myagent /tmp/sns-myagent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sns-myagent/agent/skills/power-bi-dax-optimization ~/.gemini/antigravity-cli/skills/power-bi-dax-optimizationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install power-bi-dax-optimization in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Power BI DAX Formula Optimizer is a SKILL.md prompt that asks an AI assistant to act as a DAX expert. When given a DAX formula, it follows a four-step process: analyze the current formula, develop an optimization strategy, provide an optimized formula, and explain the changes. The analysis covers performance, readability, best practice compliance and maintainability.
The prompt lists common patterns such as storing repeated expressions in VAR statements, using DIVIDE instead of the division operator, and choosing COUNTROWS over COUNT. It asks the user to supply the formula along with context such as the business purpose, data model relationships and performance concerns. It is written for people who want to improve existing DAX calculations.
Written from the project's SKILL.md and checked against it.
What it can do
- Performance analysisFinds expensive operations, repeated expressions and inefficient context transitions in a formula.
- Readability assessmentReviews formula structure, measure and variable naming, comments and logical flow.
- Best practice checkChecks VAR usage, column versus measure references and function selection.
- Optimized formulaProvides an improved DAX formula with variables, DIVIDE and clear commenting.
- Change explanationExplains each change, its expected impact, trade-offs and testing recommendations.
- Extra help on requestOffers a DAX pattern library, benchmarking approaches, model integration and documentation.
Try asking
- Optimize this DAX measure for better performance and readability: [paste formula]
- Check this DAX formula for best practice violations and missing VAR statements.
- Explain the trade-offs of this DAX rewrite and how I should test it.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agent/skills/power-bi-dax-optimization/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to power-bi-dax-optimization
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
power-bi-dax-optimization: common questions
What does the DAX optimizer check?
It analyzes performance, readability, best practice compliance and maintainability of a DAX formula. It then returns an optimized version with an explanation of the changes.
What information should I give it?
Provide the DAX formula along with context such as its business purpose, data model relationships, performance concerns and optimization goals.
Does it cover error handling?
Yes. The source mentions using DIVIDE for safer division, proper handling of BLANK values and defensive checks for edge cases.
How do I install power-bi-dax-optimization?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is power-bi-dax-optimization free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is power-bi-dax-optimization safe to use?
It scores 54 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to power-bi-dax-optimization?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
