powerbi-modeling

github/awesome-copilot · Agent Skill

Assists in creating and optimizing Power BI semantic models, including DAX, schemas, relationships, and RLS, following best practices.

Jump to install ↓

Overview

PublishergithubOrganization
Repositorygithub/awesome-copilot ↗
Skill folderpowerbi-modeling
Stars38,754
Bundled files6
LicenseMIT
Last updatedFebruary 2, 2026
LinksSkill source ↗ · Repository ↗

Mozgi check

What we found in the skill files. Details come with a subscription.

Security
low risk · no obvious risks found — the full report shows the details
Compatibility
instructions only — works with most agents
Similar skills
28 similar skills found
Also with subscription

Installation

A skill is a folder with a SKILL.md file. Pick your agent and run the commands in a terminal (macOS, Linux or Git Bash on Windows) from your project root.

Copy the prompt into Claude, Codex or another assistant: it will review the skill and install it for you.

Install the “powerbi-modeling” skill from mozgi.io (https://mozgi.io/skills/powerbi-modeling/) for me.

1. Download the archive: https://mozgi.io/skills/powerbi-modeling/download
   If it fails, take the skill folder from the source: https://github.com/github/awesome-copilot/tree/main/skills/powerbi-modeling
2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me.
3. Put the “powerbi-modeling” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.).
4. Make sure <skills folder>/powerbi-modeling/SKILL.md exists.
5. Briefly tell me what this skill does and offer to try it on my task.

If you cannot do a step yourself, tell me what to click or type.

Review the source files

6 files Download Zip

Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.

SKILL.md contents

Original author text · read-only

Power BI Semantic Modeling

Guide users in building optimized, well-documented Power BI semantic models following Microsoft best practices.

When to Use This Skill

Use this skill when users ask about:

  • Creating or optimizing Power BI semantic models
  • Designing star schemas (dimension/fact tables)
  • Writing DAX measures or calculated columns
  • Configuring table relationships (cardinality, cross-filter)
  • Implementing row-level security (RLS)
  • Naming conventions for tables, columns, measures
  • Adding descriptions and documentation to models
  • Performance tuning and optimization
  • Calculation groups and field parameters
  • Model validation and best practice checks

Trigger phrases: "create a measure", "add relationship", "star schema", "optimize model", "DAX formula", "RLS", "naming convention", "model documentation", "cardinality", "cross-filter"

Prerequisites

Required Tools

  • Power BI Modeling MCP Server: Required for connecting to and modifying semantic models
  • Enables: connection_operations, table_operations, measure_operations, relationship_operations, etc.
  • Must be configured and running to interact with models

Optional Dependencies

  • Microsoft Learn MCP Server: Recommended for researching latest best practices
  • Enables: microsoft_docs_search, microsoft_docs_fetch
  • Use for complex scenarios, new features, and official documentation

Workflow

1. Connect and Analyze First

Before providing any modeling guidance, always examine the current model state:

1. List connections: connection_operations(operation: "ListConnections")
2. If no connection, check for local instances: connection_operations(operation: "ListLocalInstances")
3. Connect to the model (Desktop or Fabric)
4. Get model overview: model_operations(operation: "Get")
5. List tables: table_operations(operation: "List")
6. List relationships: relationship_operations(operation: "List")
7. List measures: measure_operations(operation: "List")

2. Evaluate Model Health

After connecting, assess the model against best practices:

  • Star Schema: Are tables properly classified as dimension or fact?
  • Relationships: Correct cardinality? Minimal bidirectional filters?
  • Naming: Human-readable, consistent naming conventions?
  • Documentation: Do tables, columns, measures have descriptions?
  • Measures: Explicit measures for key calculations?
  • Hidden Fields: Are technical columns hidden from report view?

3. Provide Targeted Guidance

Based on analysis, guide improvements using references:

Quick Reference: Model Quality Checklist

| Area | Best Practice |

|------|--------------|

| Tables | Clear dimension vs fact classification |

| Naming | Human-readable: Customer Name not CUST_NM |

| Descriptions | All tables, columns, measures documented |

| Measures | Explicit DAX measures for business metrics |

| Relationships | One-to-many from dimension to fact |

| Cross-filter | Single direction unless specifically needed |

| Hidden fields | Hide technical keys, IDs from report view |

| Date table | Dedicated marked date table |

MCP Tools Reference

Use these Power BI Modeling MCP operations:

| Operation Category | Key Operations |

|-------------------|----------------|

| connection_operations | Connect, ListConnections, ListLocalInstances, ConnectFabric |

| model_operations | Get, GetStats, ExportTMDL |

| table_operations | List, Get, Create, Update, GetSchema |

| column_operations | List, Get, Create, Update (descriptions, hidden, format) |

| measure_operations | List, Get, Create, Update, Move |

| relationship_operations | List, Get, Create, Update, Activate, Deactivate |

| dax_query_operations | Execute, Validate |

| calculation_group_operations | List, Create, Update |

| security_role_operations | List, Create, Update, GetEffectivePermissions |

Common Tasks

Add Measure with Description

measure_operations(
  operation: "Create",
  definitions: [{
    name: "Total Sales",
    tableName: "Sales",
    expression: "SUM(Sales[Amount])",
    formatString: "$#,##0",
    description: "Sum of all sales amounts"
  }]
)

Update Column Description

column_operations(
  operation: "Update",
  definitions: [{
    tableName: "Customer",
    name: "CustomerKey",
    description: "Unique identifier for customer dimension",
    isHidden: true
  }]
)

Create Relationship

relationship_operations(
  operation: "Create",
  definitions: [{
    fromTable: "Sales",
    fromColumn: "CustomerKey",
    toTable: "Customer",
    toColumn: "CustomerKey",
    crossFilteringBehavior: "OneDirection"
  }]
)

When to Use Microsoft Learn MCP

Research current best practices using microsoft_docs_search for:

  • Latest DAX function documentation
  • New Power BI features and capabilities
  • Complex modeling scenarios (SCD Type 2, many-to-many)
  • Performance optimization techniques
  • Security implementation patterns

Frequently asked questions

What does the powerbi-modeling skill do?

Assists in creating and optimizing Power BI semantic models, including DAX, schemas, relationships, and RLS, following best practices.

How do I install powerbi-modeling?

Open the “Installation” block on this page and pick your agent — Claude Code, Codex, Cursor or Gemini CLI — for ready-made commands that copy the skill folder to the right place. Or copy the prompt from the “Via assistant” tab and let the assistant review and install the skill.

Which AI models work with powerbi-modeling?

Skills are plain Markdown instructions (the Agent Skills format), so powerbi-modeling works with any agent that reads SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and more. The model loads the instructions only when a task matches the skill's description.

Is powerbi-modeling free?

The skill is published openly by github under the MIT license. The skill itself costs nothing — you only pay your AI provider for the tokens you use.

Is it safe to install skills?

A skill is a set of instructions your agent will follow, so read SKILL.md and its companion files before installing. Scripts in the skill folder only run if your agent runs them — keep an eye on what it does and do not grant unnecessary permissions.

How is a skill different from an MCP server or a plugin?

An MCP server or plugin gives the model new tools — code that runs and returns a result. A skill gives it knowledge and process: how to approach a task, which steps to follow and what good output looks like. It needs no server or API key.

Related skills

All skills →