Skip to content
Skillpedia
Analysis & spreadsheets40k · #5283

powerbi-modeling

Helps your agent build efficient data models in Power BI. It creates calculations, defines how tables relate, and optimizes performance for better analysis.

What it does

Helps you organize and improve your data in Power BI. It ensures your data is well-structured, easy to understand, and fast for generating reports.

When to use it

  • ✓When you are starting a new data model in Power BI.
  • ✓If you want your Power BI reports to be faster.
  • ✓To better organize how your data tables connect.

Example of what to ask your AI

“How can I organize my sales and customer tables so they work well together in Power BI?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/powerbi-modeling/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/powerbi-modeling/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It checks how your data is organized, suggests improvements for connections between tables, and helps create clear calculations. It follows best practices recommended by Microsoft.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add github/awesome-copilot --skill powerbi-modeling

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/powerbi-modeling/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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",

…
FAQ

What is a 'semantic model'?

It's how Power BI organizes your data so you can create reports. Think of it as the main structure of your data in Power BI.

What are 'measures' and 'calculated columns'?

Measures are calculations you create to analyze your data (e.g., Total Sales). Calculated columns add new information to a table based on other columns.

What is 'row-level security' (RLS)?

RLS allows you to control who can see which data in your reports. For example, a manager can only see their own team's data.

Details

Original description by the author

Power BI semantic modeling assistant for building optimized data models. Use when working with Power BI semantic models, creating measures, designing star schemas, configuring relationships, implementing RLS, or optimizing model performance. Triggers on queries about DAX calculations, table relationships, dimension/fact table design, naming conventions, model documentation, cardinality, cross-filt

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#5283
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills