Skip to content
github/awesome-copilot

Power BI Semantic Modeling Assistant

Claude Code

About this skill

A skill for guiding users in building optimized and documented semantic models in Power BI according to best practices, including star schema design, writing DAX measures, configuring relationships, cardinality and filter direction, applying row-level security, performance optimization, calculation groups, and naming and documentation conventions. It connects to the active model first via the power-bi-modeling MCP server tools to understand the data structure before providing guidance.
Start here

How do you use this skill?

1. Ask the assistant to connect to the active semantic model and analyze its structure via connection_operations, model_operations, table_operations, relationship_operations, and measure_operations. 2. Ask for an assessment of model health against a checklist: classification of dimension and fact tables, filter direction, naming, documentation, and hiding technical fields. 3. Ask for the creation of explicit DAX measures with descriptions, format strings, and display folders, for example: "Create a Total Sales measure = SUM(Sales[Amount]) with currency format and a clear description". 4. Ask for relationships to be configured as one-to-many with a single filter direction, example user request: "Create a relationship between Sales and Customer via CustomerKey with a single direction". 5. Ask for dynamic row-level security to be implemented on a dimension table using USERPRINCIPALNAME(), for example: "Create a Regional Sales role that restricts customers by region". 6. Ask for performance improvements such as reducing high-cardinality columns and preferring DIVIDE and variables, for example: "Review the model and suggest performance improvements".

Requirements and limitations

Requires running and configuring the Power BI Modeling MCP server to connect to and modify semantic models (connection, table, measure, relationship, security role, and DAX query operations). Optional dependence on the Microsoft Learn MCP server to look up the latest best practices and official documentation. Requires an active Power BI model locally (Desktop) or on Fabric, and an account with appropriate permissions to access it. The skill is advisory and depends on the availability of MCP tools in the agent environment, does not guarantee results without actual verification of the model, and does not support object-level security through the Desktop interface (requires XMLA/TMSL).

Installation by agent

Download and extract the ZIP. It contains the folder powerbi-modeling and the file SKILL.md with the original attachments and license.

Claude Code
  1. Create this path inside your project if it does not exist:.claude/skills/
  2. Copy the entire extracted skill folder to this path:.claude/skills/powerbi-modeling/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for powerbi-modeling.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Claude Code official documentation ↗

Original files retain their language to preserve tool names and paths. Compatibility is classified by review, not runtime testing on every agent version.