Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

powerbi-core

БесплатноБез исполняемых скриптовНе проверен

Core Power BI data modeling, source connectivity, and platform fundamentals. PROACTIVELY activate for: (1) Power BI data modeling and star-schema design, (2)…

JosiahSiegelот JosiahSiegel★ 67 звёзд на GitHub

Об этом скилле

Power BI Core Concepts and Data Modeling

Overview

Core Power BI knowledge covering data modeling best practices, connectivity modes, source types, relationships, and common pitfalls. This skill provides the foundational architecture guidance every Power BI developer needs.

Data Model Design - Star Schema

Always design data models using star schema topology:

Component Purpose Example
Fact table Numeric events/transactions Sales, Orders, WebVisits
Dimension table Descriptive attributes Date, Product, Customer, Geography
Bridge table Many-to-many resolution StudentCourse, OrderProduct

Mandatory rules:

  • One fact table at the center, dimensions radiating out
  • Relationships flow from dimension (one side) to fact (many side)
  • Use surrogate integer keys, not natural/business keys
  • Keep fact tables narrow (keys + measures only)
  • Denormalize dimensions (flatten snowflake into star)
  • Create a dedicated Date dimension table (disable auto date/time)
  • Never use bidirectional cross-filtering unless absolutely required and contained

Storage Modes

Mode Data Location Refresh Performance Use When
Import In-memory VertiPaq Scheduled/on-demand Fastest queries Default choice, data under 1GB compressed
DirectQuery Source database Real-time Depends on source Real-time needed, data too large for import
Dual Both Scheduled + real-time Best of both Dimension tables in composite models
Direct Lake OneLake delta tables Framing (seconds) Near-import speed Fabric lakehouse/warehouse scenarios

Import mode considerations:

  • 1GB PBIX file size limit (10GB for Premium/PPU in service)
  • Data is a snapshot at refresh time; not real-time
  • Scheduled refresh limit: 8/day (Pro), 48/day (Premium/PPU)

DirectQuery limitations:

  • No Power Query transformations applied at query time
  • Single source per model (unless composite)
  • Performance depends entirely on source query speed
  • Many DAX functions unavailable or degraded
  • No calculated columns on DirectQuery tables
  • Row limit of 1 million rows per visual query

Direct Lake key considerations (2025-2026 GA):

  • Two variants: Direct Lake on OneLake (DL/OL) and Direct Lake on SQL endpoints (DL/SQL)
  • DL/OL does NOT fall back to DirectQuery -- queries fail if data cannot be served
  • DL/SQL CAN fall back to DirectQuery via SQL analytics endpoint
  • Guardrails vary by capacity: F32 allows up to 1,000 files/row groups per table; F64/P1 allows up to 5,000
  • Max Memory is a soft limit for paging, not a hard guardrail -- excess paging hurts performance
  • Max model size on disk/OneLake IS a hard guardrail -- exceeding causes DQ fallback (DL/SQL) or failure (DL/OL)
  • Full DAX support including calculated columns
  • Framing (metadata-only refresh) completes in seconds
  • Power BI Embedded with Direct Lake mode is GA since March 2025

Choosing storage mode decision tree:

  1. Data in Fabric OneLake delta tables? Use Direct Lake
  2. Need real-time data, source is fast? Use DirectQuery
  3. Data under 1GB, can tolerate refresh lag? Use Import (best performance)
  4. Large data + need fast queries? Use composite model (Import dimensions + DQ facts + aggregation tables)

Relationships

Property Options Default
Cardinality One-to-many, Many-to-one, One-to-one, Many-to-many One-to-many
Cross-filter direction Single, Both Single
Active Yes/No Yes (only one active per path)

Relationship rules:

  • Only one active relationship between any two tables
  • Use USERELATIONSHIP() in DAX to activate inactive relationships
  • Avoid bidirectional filtering -- it causes ambiguous filter paths, performance degradation, and unexpected results
  • Many-to-many requires a bridge table or composite model many-to-many cardinality
  • Referential integrity: set "Assume Referential Integrity" for DirectQuery performance

Data Sources Quick Reference

Category Sources
Microsoft SQL SQL Server, Azure SQL, Azure Synapse, SQL Server Analysis Services
Azure Cosmos DB, Data Explorer (Kusto), Blob Storage, Data Lake, Fabric Lakehouse/Warehouse
Cloud Databases Snowflake, Databricks, Google BigQuery, Amazon Redshift, Amazon Athena
Files Excel, CSV/TSV, JSON, XML, Parquet, PDF
Services SharePoint, Dynamics 365, Salesforce, Google Analytics, Azure DevOps
Protocols OData, REST API, ODBC, OLEDB
Streaming Azure Stream Analytics, PubNub, REST API push

Incremental Refresh

Configure incremental refresh for large Import tables to avoid full refresh:

  1. Create RangeStart and RangeEnd parameters (type DateTime) in Power Query
  2. Apply filter on the date column using these parameters
  3. Configure refresh policy: archive period (e.g., 3 years), incremental period (e.g., 30 days)
  4. Optionally en
Полный SKILL.md на GitHub

Установить powerbi-core в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/data-sources-detail.mdreferences/gotchas-deep-dive.md

FAQ

Что делает скилл powerbi-core?

Core Power BI data modeling, source connectivity, and platform fundamentals. PROACTIVELY activate for: (1) Power BI data modeling and star-schema design, (2) relationships (active/inactive, bidirectional, USERELATIONSHIP), (3) data-source selection (DirectQuery vs Import vs Direct Lake vs composite), (4) incremental refresh setup, (5) gateway configuration (on-prem and VNet gateways), (6) streaming datasets and push-data scenarios, (7) Dataflow Gen2 basics, (8) Power BI common gotchas and pitfalls (bidirectional filtering, AutoExist, blank-row), (9) workspace identity and OAuth2 / service-principal auth, (10) semantic model architecture review. Provides: star-schema templates, mode-selection matrix, incremental refresh recipe, gateway setup steps, and a common-gotchas reference.

Как установить скилл powerbi-core?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл powerbi-core запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить powerbi-core с