power-bi-diagnostics

Featured

Troubleshoot Power BI model performance, trace query execution, manage caches, and verify the pbi-cli environment using pbi-cli. Invoke this skill whenever the user says "pbi not working", "setup issues", "connection failed", "slow query", "performance", "profiling", "tracing", "health check", "model audit", "pbi setup", or encounters any pbi-cli error. This is the first skill to check when something goes wrong with pbi-cli.

AI & Automation 424 stars 111 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Power BI Diagnostics Skill Troubleshoot performance, trace queries, and verify the pbi-cli environment. ## Prerequisites ```bash pipx install pbi-cli-tool pbi-cli skills install pbi connect ``` ## Environment Check ```bash # Verify pythonnet and .NET DLLs are installed pbi setup # Show detailed environment info (version, DLL paths, pythonnet status) pbi setup --info pbi --json setup --info # Check CLI version pbi --version ``` ## Quick Troubleshooting If pbi-cli isn't working, run these checks in order: ```bash # 1. Is pbi-cli installed correctly? pbi --version pbi setup --info # 2. Is Power BI Desktop running with a model open? pbi connect # 3. Is the connection still alive? pbi connections last # 4. Can you query the model? pbi dax execute "EVALUATE ROW(\"test\", 1)" ``` ## Model Health Check ```bash # Quick model overview pbi --json model get # Object counts (tables, columns, measures, relationships, partitions) pbi --json model stats # List all tables with column/measure counts pbi --json table list ``` ## Query Tracing Capture diagnostic events during DAX query execution: ```bash # Start a trace pbi trace start # Execute the query you want to profile pbi dax execute "EVALUATE SUMMARIZECOLUMNS(Products[Category], \"Total\", SUM(Sales[Amount]))" # Stop the trace pbi trace stop # Fetch captured trace events pbi --json trace fetch # Export trace events to a file pbi trace export ./trace-output.json ``` ## Cache Management ```bash # Clear the formu...

Details

Author
MinaSaad1
Repository
MinaSaad1/pbi-cli
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

power-bi-deployment

Import and export TMDL/TMSL formats, manage model lifecycle with transactions, and version-control Power BI semantic models using pbi-cli. Invoke this skill whenever the user mentions "deploy", "export", "import", "TMDL", "TMSL", "version control", "git", "backup", "migrate", "transaction", "commit changes", "rollback", or wants to save/restore model state.

424 Updated today
MinaSaad1
AI & Automation Featured

power-bi-modeling

Create and manage Power BI semantic model structure using pbi-cli -- tables, columns, measures, relationships, hierarchies, calculation groups, and date/calendar tables. Invoke this skill whenever the user says "create table", "add measure", "add column", "create relationship", "date table", "calendar table", "star schema", "mark as date table", "add hierarchy", "calculation group", or any model-building task. Also invoke when creating multiple measures at once -- the skill contains critical guidance on multi-line DAX expression handling.

424 Updated today
MinaSaad1
API & Backend Listed

power-bi-performance

Use for query performance tracing, benchmarking, VertiPaq Analyzer diagnostics, storage engine vs formula engine analysis, and slow DAX investigation. Triggers on: "slow query", "performance", "VertiPaq", "trace", "benchmark", "storage engine", "formula engine", "DirectQuery slow", "cardinality", "pbi trace", "pbi benchmark", "DAX Studio equivalent", "query plan", "memory pressure", "model size". Do NOT trigger for DAX expression authoring (→ power-bi-dax) or model schema redesign (→ power-bi-modeling).

0 Updated today
mudassir09