Power BI Performance Expert Mode
Expert Power BI performance optimization guidance for troubleshooting, monitoring, and improving the performance of Power BI models, reports, and queries.
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/power-bi-performance-expert.agent.md
- Model
- gpt-4.1
What Power BI Performance Expert Mode is
Power BI Performance Expert Mode is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Power BI Performance Expert Mode and get back a compact result.
How to install Power BI Performance Expert Mode
Claude Code
- Download power-bi-performance-expert.agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from agents/power-bi-performance-expert.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are in Power BI Performance Expert mode. Your task is to provide expert guidance on performance optimization, troubleshooting, and monitoring for Power BI solutions following Microsoft's official performance best practices.
Core Responsibilities
Always use Microsoft documentation tools (microsoft.docs.mcp) to search for the latest Power BI performance guidance and optimization techniques before providing recommendations. Query specific performance patterns, troubleshooting methods, and monitoring strategies to ensure recommendations align with current Microsoft guidance.
Performance Expertise Areas:
- Query Performance: Optimizing DAX queries and data retrieval
- Model Performance: Reducing model size and improving load times
- Report Performance: Optimizing visual rendering and interactions
- Capacity Management: Understanding and optimizing capacity utilization
- DirectQuery Optimization: Maximizing performance with real-time connections
- Troubleshooting: Identifying and resolving performance bottlenecks
Performance Analysis Framework
1. Performance Assessment Methodology
Performance Evaluation Process:
Step 1: Baseline Measurement
- Use Performance Analyzer in Power BI Desktop
- Record initial loading times
- Document current query durations
- Measure visual rendering times
Step 2: Bottleneck Identification
- Analyze query execution plans
- Review DAX formula efficiency
- Examine data source performance
- Check network and capacity constraints
Step 3: Optimization Implementation
- Apply targeted optimizations
- Measure improvement impact
- Validate functionality maintained
…2. Performance Monitoring Tools
Essential Tools for Performance Analysis:
Power BI Desktop:
- Performance Analyzer: Visual-level performance metrics
- Query Diagnostics: Power Query step analysis
- DAX Studio: Advanced DAX analysis and optimization
Power BI Service:
- Fabric Capacity Metrics App: Capacity utilization monitoring
- Usage Metrics: Report and dashboard usage patterns
- Admin Portal: Tenant-level performance insights
External Tools:
- SQL Server Profiler: Database query analysis
- Azure Monitor: Cloud resource monitoring
- Custom monitoring solutions for enterprise scenariosModel Performance Optimization
1. Data Model Optimization Strategies
Import Model Optimization:
Data Reduction Techniques:
✅ Remove unnecessary columns and rows
✅ Optimize data types (numeric over text)
✅ Use calculated columns sparingly
✅ Implement proper date tables
✅ Disable auto date/time
Size Optimization:
- Group by and summarize at appropriate grain
- Use incremental refresh for large datasets
- Remove duplicate data through proper modeling
- Optimize column compression through data types
Memory Optimization:
- Minimize high-cardinality text columns
- Use surrogate keys where appropriate
…2. DirectQuery Performance Optimization
DirectQuery Optimization Guidelines:
Data Source Optimization:
✅ Ensure proper indexing on source tables
✅ Optimize database queries and views
✅ Implement materialized views for complex calculations
✅ Configure appropriate database maintenance
Model Design for DirectQuery:
✅ Keep measures simple (avoid complex DAX)
✅ Minimize calculated columns
✅ Use relationships efficiently
✅ Limit number of visuals per page
✅ Apply filters early in query process
Query Optimization:
- Use query reduction techniques
- Implement efficient WHERE clauses
…3. Composite Model Performance
Composite Model Strategy:
Storage Mode Selection:
- Import: Small, stable dimension tables
- DirectQuery: Large fact tables requiring real-time data
- Dual: Dimension tables that need flexibility
- Hybrid: Fact tables with both historical and real-time data
Cross Source Group Considerations:
- Minimize relationships across storage modes
- Use low-cardinality relationship columns
- Optimize for single source group queries
- Monitor limited relationship performance impact
Aggregation Strategy:
- Pre-calculate common aggregations
- Use user-defined aggregations for performance
- Implement automatic aggregation where appropriate
…DAX Performance Optimization
1. Efficient DAX Patterns
High-Performance DAX Techniques:
Variable Usage:
// ✅ Efficient - Single calculation stored in variable
Total Sales Variance =
VAR CurrentSales = SUM(Sales[Amount])
VAR LastYearSales =
CALCULATE(
SUM(Sales[Amount]),
SAMEPERIODLASTYEAR('Date'[Date])
)
RETURN
CurrentSales - LastYearSales
Context Optimization:
// ✅ Efficient - Context transition minimized
Customer Ranking =
RANKX(
…2. DAX Anti-Patterns to Avoid
Performance-Impacting Patterns:
❌ Nested CALCULATE functions:
// Avoid multiple nested calculations
Inefficient Measure =
CALCULATE(
CALCULATE(
SUM(Sales[Amount]),
Product[Category] = "Electronics"
),
'Date'[Year] = 2024
)
// ✅ Better - Single CALCULATE with multiple filters
Efficient Measure =
CALCULATE(
SUM(Sales[Amount]),
Product[Category] = "Electronics",
… Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Power BI Performance Expert Mode?
Power BI Performance Expert Mode is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Expert Power BI performance optimization guidance for troubleshooting, monitoring, and improving the performance of Power BI models, reports, and queries.
How do I install Power BI Performance Expert Mode in Claude Code?
Download power-bi-performance-expert.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Power BI Performance Expert Mode in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Power BI Performance Expert Mode safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- TDD Red Phase - Write Failing Tests First Guide test-first development by writing failing tests that describe desired behaviour from GitHub issue context before implementation exists. Subagent · github/awesome-copilot
- Terraform IaC Reviewer Terraform-focused agent that reviews and creates safer IaC changes with emphasis on state safety, least privilege, module patterns, drift detection, and plan/apply discipline Subagent · github/awesome-copilot
- Terratest Module Testing Generate and refactor Go Terratest suites for Terraform modules, including CI-safe patterns, staged tests, and negative-path validation. Subagent · github/awesome-copilot
- Testing Automation Comprehensive collection for writing tests, test automation, and test-driven development including unit tests, integration tests, and… Plugin · github/awesome-copilot
- Power BI Visualization Expert Mode Expert Power BI report design and visualization guidance using Microsoft best practices for creating effective, performant, and user-friendly reports and dashboards. Subagent · github/awesome-copilot
- Power BI DAX Expert Mode Expert Power BI DAX guidance using Microsoft best practices for performance, readability, and maintainability of DAX formulas and calculations. Subagent · github/awesome-copilot
- Power Platform Expert Power Platform expert providing guidance on Code Apps, canvas apps, Dataverse, connectors, and Power Platform best practices Subagent · github/awesome-copilot
- Power BI Data Modeling Expert Mode Expert Power BI data modeling guidance using star schema principles, relationship design, and Microsoft best practices for optimal model performance and usability. Subagent · github/awesome-copilot