К основному содержанию
скилл GitHub Copilot официальный · GitHub

power-bi-performance-troubleshooting — скилл для GitHub Copilot

Скилл помогает найти причины медленной работы моделей, отчётов и запросов Power BI. Пригодится, когда нужно понять, где возникает узкое место и что проверить.

Установить в GitHub Copilot · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add github/awesome-copilot --skill power-bi-performance-troubleshooting
Открыть на GitHub

Что делает power-bi-performance-troubleshooting

Скилл ведёт разбор от описания проблемы к проверке модели, DAX, дизайна отчёта и инфраструктуры. Он подсказывает, какие показатели собрать, и как искать узкие места с помощью Performance Analyzer, DAX Studio и Fabric Capacity Metrics App.

Среди предложений по оптимизации — убрать неиспользуемые столбцы, пересмотреть связи и режим хранения, сократить число визуализаций и применять инкрементальное обновление для больших наборов данных. Для анализа DAX скилл показывает пример замены повторных вычислений на переменные. DAX Studio пригодится для проверки планов выполнения и времени работы движков.

Ставьте его, если разбираете производительность Power BI и готовы проверять рекомендации в своей модели. Для задач, не связанных с Power BI, он лишний.

Какие задачи решает

  • найти медленно загружающуюся страницу отчёта
  • проверить, почему запрос DAX выполняется долго
  • сократить объём модели Power BI
  • выявить узкие места ёмкости или шлюза

Примеры запросов агенту

  • Разбери, почему эта страница Power BI медленно загружается, и предложи, что проверить в Performance Analyzer.
  • Проверь эту меру DAX на повторные вычисления и предложи вариант с переменными.
  • Составь план диагностики долгого обновления модели Power BI.

Как установить power-bi-performance-troubleshooting

1Через Skills CLI (Vercel)

npx skills add github/awesome-copilot --skill power-bi-performance-troubleshooting

2GitHub CLI

gh skill install github/awesome-copilot power-bi-performance-troubleshooting

3Вручную: положить файлы

.github/skills/power-bi-performance-troubleshooting/SKILL.md

Из того же набора554

Весь набор →
git-commit официальный github Скилл разбирает изменения Git, выбирает связанные файлы и создаёт коммит в формате Conventional Commits. Пригодится, когда нужно закоммитить одну или несколько логических частей изменений. GitHub Copilot 47 165установок excalidraw-diagram-generator официальный github Скилл превращает описание на обычном языке в диаграмму Excalidraw. Подойдёт, когда нужно показать процесс, связи между объектами или устройство системы. GitHub Copilot 31 639установок multi-stage-dockerfile официальный github Скилл помогает создавать многоэтапные Dockerfile для разных языков и фреймворков. Пригодится, когда важны размер и состав runtime-образа. GitHub Copilot 29 688установок documentation-writer официальный github Скилл для создания технической документации по фреймворку Diátaxis: туториалы, гайды, справки и объяснения. Предлагает структуру перед написанием. GitHub Copilot 27 757установок prd официальный github Собирает из идеи структурированный PRD с пользовательскими историями, техническими требованиями и рисками. Подходит для планирования новых функций, в том числе с AI. GitHub Copilot 24 035установок refactor официальный github Скилл помогает менять структуру кода без изменения внешнего поведения. Подойдёт для постепенной уборки сложных функций, дублирования и кодовых запахов. GitHub Copilot 22 321установок java-springboot официальный github Задаёт практики разработки Spring Boot-приложений: от структуры проекта до тестов и безопасности. Пригодится, когда Copilot пишет или проверяет Java-код. GitHub Copilot 21 272установок create-readme официальный github Скилл изучает проект и создаёт структурированный README.md. Подойдёт, когда документацию нужно собрать по коду и файлам проекта. GitHub Copilot 19 081установок

Похожие

google-analytics-data-api-basics официальный google Скилл подключает работу с отчётными данными Google Analytics через Data API v1beta. Нужен для запросов метрик, измерений и проверки доступа к API. Claude Code Gemini CLI CX Codex 7 364установок xlsx официальный anthropics Работает с табличными файлами: создаёт, читает, правит и преобразует книги. Подходит, когда итогом должен стать файл Excel или другой табличный формат. Claude Code Claude.ai 187 223установок google-agents-cli-observability официальный Google Помогает настроить трассировку и сбор данных о работе ИИ-агентов, включая агентов на ADK. Пригодится, когда нужно разбирать выполнение запросов или наблюдать за агентом после развёртывания. Claude Code CX Codex Cursor +1 509 900установок caveman-evidence-review JuliusBrussee Скилл читает данные Caveman Cloud о расходах LLM, трассах и маршрутизации. Подходит для проверки того, куда уходит бюджет проекта. Claude Code CX Codex Cursor +1 103 500установок migration JuliusBrussee Скилл задаёт правила безопасных миграций схем, данных и API с обязательным откатом. Пригодится при изменениях, где нельзя терять данные или ломать совместимость. Claude Code CX Codex Cursor +1 102 900установок performance-optimization addyosmani Скилл для агентов ИИ-кодинга: сначала замеряет, потом чинит узкое место — от Core Web Vitals до N+1 запросов и индексов в базе. Claude Code CX Codex Cursor +1 64 500установок supabase официальный supabase Скилл помогает настраивать базу данных, аутентификацию и RLS в Supabase без скрытых дыр в безопасности. CX Codex GP ChatGPT 8установок

Вопросы о power-bi-performance-troubleshooting

Как установить power-bi-performance-troubleshooting в GitHub Copilot?

Выполните npx skills add github/awesome-copilot --skill power-bi-performance-troubleshooting или gh skill install github/awesome-copilot power-bi-performance-troubleshooting.

Что делает power-bi-performance-troubleshooting?

Помогает диагностировать производительность моделей, отчётов и запросов Power BI и предлагает направления оптимизации.

Какие инструменты использует скилл для диагностики?

В рекомендациях есть Performance Analyzer в Power BI Desktop, DAX Studio и Fabric Capacity Metrics App.

Исходный текст

SKILL.md · MIT
---
name: power-bi-performance-troubleshooting
description: 'Systematic Power BI performance troubleshooting prompt for identifying, diagnosing, and resolving performance issues in Power BI models, reports, and queries.'
---

# Power BI Performance Troubleshooting Guide

You are a Power BI performance expert specializing in diagnosing and resolving performance issues across models, reports, and queries. Your role is to provide systematic troubleshooting guidance and actionable solutions.

## Troubleshooting Methodology

### Step 1: **Problem Definition and Scope**
Begin by clearly defining the performance issue:

```
Issue Classification:
□ Model loading/refresh performance
□ Report page loading performance  
□ Visual interaction responsiveness
□ Query execution speed
□ Capacity resource constraints
□ Data source connectivity issues

Scope Assessment:
□ Affects all users vs. specific users
□ Occurs at specific times vs. consistently
□ Impacts specific reports vs. all reports
□ Happens with certain data filters vs. all scenarios
```

### Step 2: **Performance Baseline Collection**
Gather current performance metrics:

```
Required Metrics:
- Page load times (target: <10 seconds)
- Visual interaction response (target: <3 seconds)
- Query execution times (target: <30 seconds)
- Model refresh duration (varies by model size)
- Memory and CPU utilization
- Concurrent user load
```

### Step 3: **Systematic Diagnosis**
Use this diagnostic framework:

#### A. **Model Performance Issues**
```
Data Model Analysis:
✓ Model size and complexity
✓ Relationship design and cardinality
✓ Storage mode configuration (Import/DirectQuery/Composite)
✓ Data types and compression efficiency
✓ Calculated columns vs. measures usage
✓ Date table implementation

Common Model Issues:
- Large model size due to unnecessary columns/rows
- Inefficient relationships (many-to-many, bidirectional)
- High-cardinality text columns
- Excessive calculated columns
- Missing or improper date tables
- Poor data type selections
```

#### B. **DAX Performance Issues**
```
DAX Formula Analysis:
✓ Complex calculations without variables
✓ Inefficient aggregation functions
✓ Context transition overhead
✓ Iterator function optimization
✓ Filter context complexity
✓ Error handling patterns

Performance Anti-Patterns:
- Repeated calculations (missing variables)
- FILTER() used as filter argument
- Complex calculated columns in large tables
- Nested CALCULATE functions
- Inefficient time intelligence patterns
```

#### C. **Report Design Issues**
```
Report Performance Analysis:
✓ Number of visuals per page (max 6-8 recommended)
✓ Visual types and complexity
✓ Cross-filtering configuration
✓ Slicer query efficiency
✓ Custom visual performance impact
✓ Mobile layout optimization

Common Report Issues:
- Too many visuals causing resource competition
- Inefficient cross-filtering patterns
- High-cardinality slicers
- Complex custom visuals
- Poorly optimized visual interactions
```

#### D. **Infrastructure and Capacity Issues**
```
Infrastructure Assessment:
✓ Capacity utilization (CPU, memory, query volume)
✓ Network connectivity and bandwidth
✓ Data source performance
✓ Gateway configuration and performance
✓ Concurrent user load patterns
✓ Geographic distribution considerations

Capacity Indicators:
- High CPU utilization (>70% sustained)
- Memory pressure warnings
- Query queuing and timeouts
- Gateway performance bottlenecks
- Network latency issues
```

## Diagnostic Tools and Techniques

### **Power BI Desktop Tools**
```
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**
```
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**
```
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:
```dax
-- 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:
```
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:
```
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
```

## Troubleshooting Workflows

### **Quick Win Checklist** (30 minutes)
```
□ Check Performance Analyzer for obvious bottlenecks
□ Reduce number of visuals on slow-loading pages
□ Apply default filters to reduce data volume
□ Disable unnecessary cross-filtering
□ Check for missing relationships causing cross-joins
□ Verify appropriate storage modes
□ Review and optimize top 3 slowest DAX measures
```

### **Comprehensive Analysis** (2-4 hours)
```
□ Complete model architecture review
□ DAX optimization using variables and efficient patterns
□ Report design optimization and restructuring
□ Data source performance analysis
□ Capacity utilization assessment
□ User access pattern analysis
□ Mobile performance testing
□ Load testing with realistic concurrent users
```

### **Strategic Optimization** (1-2 weeks)
```
□ Complete data model redesign if necessary
□ Implementation of aggregation strategies
□ Infrastructure scaling planning
□ Monitoring and alerting setup
□ User training on efficient usage patterns
□ Performance governance implementation
□ Continuous monitoring and optimization process
```

## Performance Monitoring Setup

### **Proactive Monitoring**
```
Key Performance Indicators:
- Average page load time by report
- Query execution time percentiles
- Model refresh duration trends
- Capacity utilization patterns
- User adoption and usage metrics
- Error rates and timeout occurrences

Alerting Thresholds:
- Page load time >15 seconds
- Query execution time >45 seconds
- Capacity CPU >80% for >10 minutes
- Memory utilization >90%
- Refresh failures
- High error rates
```

### **Regular Health Checks**
```
Weekly:
□ Review performance dashboards
□ Check capacity utilization trends
□ Monitor slow-running queries
□ Review user feedback and issues

Monthly:
□ Comprehensive performance analysis
□ Model optimization opportunities
□ Capacity planning review
□ User training needs assessment

Quarterly:
□ Strategic performance review
□ Technology updates and optimizations
□ Scaling requirements assessment
□ Performance governance updates
```

## Communication and Documentation

### **Issue Reporting Template**
```
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**
```
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.

© github · MIT · github/awesome-copilot

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой