power-bi-documentation

Featured

Auto-document Power BI semantic models by extracting metadata, generating documentation, and cataloging all model objects using pbi-cli. Invoke this skill whenever the user says "document this model", "what's in this model", "list everything", "data dictionary", "model inventory", "audit contents", "catalog", "describe the model", or wants to understand what objects exist in a semantic model.

Data & Documents 423 stars 110 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

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

Skill Content

# Power BI Documentation Skill Generate comprehensive documentation for Power BI semantic models. ## Prerequisites ```bash pipx install pbi-cli-tool pbi-cli skills install pbi connect ``` ## Quick Model Overview ```bash pbi --json model get # Model metadata pbi --json model stats # Table/measure/column counts ``` ## Catalog All Objects ```bash # Tables and their structure pbi --json table list pbi --json table get Sales pbi --json table schema Sales # All measures pbi --json measure list # Individual measure details pbi --json measure get "Total Revenue" --table Sales # Columns per table pbi --json column list --table Sales pbi --json column list --table Products # Relationships pbi --json relationship list # Security roles pbi --json security-role list # Hierarchies pbi --json hierarchy list --table Date # Calculation groups pbi --json calc-group list # Perspectives pbi --json perspective list # Named expressions (M queries) pbi --json expression list # Partitions pbi --json partition list --table Sales # Calendar/date tables pbi --json calendar list ``` ## Export Full Model as TMDL ```bash pbi database export-tmdl ./model-docs/ ``` This creates a human-readable text representation of the entire model. ## Workflow: Generate Model Documentation Run these commands to gather all information needed for documentation: ```bash # Step 1: Model overview pbi --json model get > model-meta.json pbi --json model stats > model-stats.json # Step 2: All t...

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-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.

423 Updated today
MinaSaad1
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.

423 Updated today
MinaSaad1
AI & Automation Featured

power-bi-diagnostics

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.

423 Updated today
MinaSaad1