本文へスキップ
Skillpedia
分析とスプレッドシート40k · #7340

powerbi-modeling

できること

Power BIでデータを整理し、改善するのに役立ちます。データが適切に構造化され、わかりやすく、レポートの生成が速くなるよう支援します。

使う場面

  • ✓Power BIで新しいデータモデルを作り始めるとき。
  • ✓Power BIのレポートを速くしたいとき。
  • ✓データのテーブル同士のつながりを整理したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/powerbi-modeling/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“売上テーブルと顧客テーブルがPower BIでうまく連携するように、どのように整理すればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールはデータの構成を確認し、テーブル間の接続の改善点を提案して、わかりやすい計算式の作成を手伝います。Microsoftが推奨するベストプラクティスに従います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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",

…
よくある質問

「セマンティックモデル」とは何ですか?

Power BIがデータを整理して、レポートを作成できるようにする仕組みです。Power BIにおけるデータの主要な構造と考えるとよいでしょう。

「メジャー」と「計算列」とは何ですか?

メジャーは、データを分析するために作成する計算式です(例: 売上合計)。計算列は、他の列の値をもとに、テーブルに新しい情報を追加するものです。

「行レベルセキュリティ」(RLS)とは何ですか?

RLSを使うと、レポート内で誰がどのデータを見られるかを制御できます。例えば、マネージャーは自分のチームのデータだけを見られるようにできます。

詳細

作者による元の説明

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

人気

GitHubのスター
40k
ランキング
#7340
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル