powerbi-modeling
Skill by Mofaji
Guides an AI assistant in building optimized, well-documented Power BI semantic models. Aimed at Power BI modelers who work on star schemas, DAX measures, relationships and row-level security.
Install powerbi-modeling
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Mofaji/Agentic-PBIP-Template /tmp/Agentic-PBIP-Template && mkdir -p ~/.claude/skills && cp -r /tmp/Agentic-PBIP-Template/.claude/skills/powerbi-modeling ~/.claude/skills/powerbi-modelingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Mofaji/Agentic-PBIP-Template /tmp/Agentic-PBIP-Template && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Agentic-PBIP-Template/.claude/skills/powerbi-modeling ~/.gemini/antigravity-cli/skills/powerbi-modelingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The powerbi-modeling skill guides an AI assistant through building optimized, well-documented Power BI semantic models following Microsoft best practices. It covers star schema design, DAX measures, table relationships with cardinality and cross-filter direction, row-level security, naming conventions, model documentation, calculation groups and performance tuning. When a Power BI modeling MCP server is configured, the assistant connects to the active model first. Otherwise it reads the TMDL files under the .SemanticModel folder directly.
The skill starts by listing connections, tables, relationships and measures, then checks the model against a quick checklist. The checklist covers table classification, naming, descriptions, hidden fields and a dedicated date table. It points to reference guides for star schemas, relationships, DAX, performance and RLS. It is intended for Power BI modelers and developers. Where repository rules conflict with the skill, the repository's copilot-instructions.md takes precedence.
Written from the project's SKILL.md and checked against it.
What it can do
- Model analysisConnects to a model and lists tables, relationships and measures before giving advice.
- Star schema designHelps classify tables as dimension or fact and design dimension and fact tables.
- DAX measuresCreates explicit measures with descriptions and format strings.
- Relationship configurationAdvises on cardinality and cross-filter direction for table relationships.
- Row-level securityGuides implementation of row-level security (RLS) in the model.
- Performance optimizationSuggests changes to optimize model performance.
- Model documentationAdds descriptions to tables, columns and measures and hides technical columns.
- Calculation groupsSupports calculation groups and field parameters.
What you need
- A Power BI semantic model in TMDL format, or a live model
- Power BI Modeling MCP server (optional)
- Microsoft Learn MCP server (optional, recommended for research)
Try asking
- Review my Power BI model for star schema and relationship issues
- Create a Total Sales measure with a description and currency format
- Explain the cross-filter direction of my model's relationships
Good to know
- No Power BI modeling MCP server is configured in this template.
- Without an MCP server, the skill reads and edits TMDL files directly.
- Business measures must go in the _Measures table, per repository rules.
- copilot-instructions.md takes precedence over this skill where they conflict.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/powerbi-modeling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to powerbi-modeling
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
powerbi-modeling: common questions
Does powerbi-modeling need an MCP server to work?
No. The source says that without an MCP server, the skill reads and edits the TMDL files under Template.SemanticModel/definition/ directly, which it calls the supported path in this repo.
Where should measures be created when using this skill?
Business measures go in the _Measures table only. SVG KPI measures go in _SVG_Measures and use P1_, P2_ naming.
What is the Microsoft Learn MCP server used for here?
The source says it is recommended for researching current best practices, including DAX documentation, new features and complex scenarios such as SCD Type 2 and many-to-many.
How do I install powerbi-modeling?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is powerbi-modeling free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is powerbi-modeling safe to use?
It scores 54 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to powerbi-modeling?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
