Labsco
github logo

power-bi-performance-troubleshooting

✓ Official36,200

by github · part of github/awesome-copilot

Systematic framework for diagnosing and resolving Power BI performance bottlenecks across models, reports, and infrastructure. Covers four diagnostic areas: model design and DAX efficiency, report layout and visual complexity, infrastructure capacity, and data source connectivity Includes step-by-step troubleshooting methodology with issue classification, baseline metrics collection, and targeted diagnosis workflows Provides concrete optimization patterns for DAX formulas, storage mode...

🔥🔥🔥✓ VerifiedFreeQuick setup
🧩 One of 7 skills in the github/awesome-copilot package — works on its own, and pairs well with its siblings.

Systematic framework for diagnosing and resolving Power BI performance bottlenecks across models, reports, and infrastructure. Covers four diagnostic areas: model design and DAX efficiency, report layout and visual complexity, infrastructure capacity, and data source connectivity Includes step-by-step troubleshooting methodology with issue classification, baseline metrics collection, and targeted diagnosis workflows Provides concrete optimization patterns for DAX formulas, storage mode...

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.

by github

Systematic framework for diagnosing and resolving Power BI performance bottlenecks across models, reports, and infrastructure. Covers four diagnostic areas: model design and DAX efficiency, report layout and visual complexity, infrastructure capacity, and data source connectivity Includes step-by-step troubleshooting methodology with issue classification, baseline metrics collection, and targeted diagnosis workflows Provides concrete optimization patterns for DAX formulas, storage mode... npx skills add https://github.com/github/awesome-copilot --skill power-bi-performance-troubleshooting Download ZIPGitHub36.2k

Diagnostic Tools and Techniques

Power BI Desktop Tools

Copy & paste — that's it
Performance Analyzer:
- Enable and record visual refresh times
- Identify slowest visuals and operations
- Compare DAX query vs. visual rendering time
- Export results for detailed analysis

Usage:
1. Open Performance Analyzer pane
2. Start recording
3. Refresh visuals or interact with report
4. Analyze results by duration
5. Focus on highest duration items first

DAX Studio Analysis

Copy & paste — that's it
Advanced DAX Analysis:
- Query execution plans
- Storage engine vs. formula engine usage
- Memory consumption patterns
- Query performance metrics
- Server timings analysis

Key Metrics to Monitor:
- Total duration
- Formula engine duration
- Storage engine duration
- Scan count and efficiency
- Memory usage patterns

Capacity Monitoring

Copy & paste — that's it
Fabric Capacity Metrics App:
- CPU and memory utilization trends
- Query volume and patterns 
- Refresh performance tracking
- User activity analysis
- Resource bottleneck identification

Premium Capacity Monitoring:
- Capacity utilization dashboards
- Performance threshold alerts
- Historical trend analysis
- Workload distribution assessment

Solution Framework

Immediate Performance Fixes

Model Optimization:

Copy & paste — that's it
-- Replace inefficient patterns:

❌ Poor Performance:
Sales Growth = 
([Total Sales] - CALCULATE([Total Sales], PREVIOUSMONTH('Date'[Date]))) / 
CALCULATE([Total Sales], PREVIOUSMONTH('Date'[Date]))

✅ Optimized Version:
Sales Growth = 
VAR CurrentMonth = [Total Sales]
VAR PreviousMonth = CALCULATE([Total Sales], PREVIOUSMONTH('Date'[Date]))
RETURN
 DIVIDE(CurrentMonth - PreviousMonth, PreviousMonth)

Report Optimization:

  • Reduce visuals per page to 6-8 maximum

  • Implement drill-through instead of showing all details

  • Use bookmarks for different views instead of multiple visuals

  • Apply filters early to reduce data volume

  • Optimize slicer selections and cross-filtering

Data Model Optimization:

  • Remove unused columns and tables

  • Optimize data types (integers vs. text, dates vs. datetime)

  • Replace calculated columns with measures where possible

  • Implement proper star schema relationships

  • Use incremental refresh for large datasets

Advanced Performance Solutions

Storage Mode Optimization:

Copy & paste — that's it
Import Mode Optimization:
- Data reduction techniques
- Pre-aggregation strategies
- Incremental refresh implementation
- Compression optimization

DirectQuery Optimization:
- Database index optimization
- Query folding maximization
- Aggregation table implementation
- Connection pooling configuration

Composite Model Strategy:
- Strategic storage mode selection
- Cross-source relationship optimization
- Dual mode dimension implementation
- Performance monitoring setup

Infrastructure Scaling:

Copy & paste — that's it
Capacity Scaling Considerations:
- Vertical scaling (more powerful capacity)
- Horizontal scaling (distributed workload)
- Geographic distribution optimization
- Load balancing implementation

Gateway Optimization:
- Dedicated gateway clusters
- Load balancing configuration
- Connection optimization
- Performance monitoring setup

Communication and Documentation

Issue Reporting Template

Copy & paste — that's it
Performance Issue Report:

Issue Description:
- What specific performance problem is occurring?
- When does it happen (always, specific times, certain conditions)?
- Who is affected (all users, specific groups, particular reports)?

Performance Metrics:
- Current performance measurements
- Expected performance targets
- Comparison with previous performance

Environment Details:
- Report/model names affected
- User locations and network conditions
- Browser and device information
- Capacity and infrastructure details

Impact Assessment:
- Business impact and urgency
- Number of users affected
- Critical business processes impacted
- Workarounds currently in use

Resolution Documentation

Copy & paste — that's it
Solution Summary:
- Root cause analysis results
- Optimization changes implemented
- Performance improvement achieved
- Validation and testing completed

Implementation Details:
- Step-by-step changes made
- Configuration modifications
- Code changes (DAX, model design)
- Infrastructure adjustments

Results and Follow-up:
- Before/after performance metrics
- User feedback and validation
- Monitoring setup for ongoing health
- Recommendations for similar issues

Usage Instructions: Provide details about your specific Power BI performance issue, including:

  • Symptoms and impact description

  • Current performance metrics

  • Environment and configuration details

  • Previous troubleshooting attempts

  • Business requirements and constraints

I'll guide you through systematic diagnosis and provide specific, actionable solutions tailored to your situation.