Command Palette

Search for a command to run...

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

fabric-integration

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

Microsoft Fabric integration with Power BI semantic models. PROACTIVELY activate for: (1) Microsoft Fabric platform tasks, (2) Direct Lake mode and OneLake…

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

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

Microsoft Fabric Integration

Overview

Microsoft Fabric is the unified analytics platform that includes Power BI, Data Factory, Data Engineering, Data Science, Real-Time Intelligence, and Data Warehouse. Power BI is deeply integrated as the visualization and semantic modeling layer of Fabric.

Direct Lake Mode

Direct Lake is a storage mode exclusive to Fabric that reads data directly from delta tables in OneLake without importing or sending DirectQuery requests.

How Direct Lake Works

  1. Framing: On refresh, Direct Lake copies only metadata (Parquet file references) from delta tables -- takes seconds
  2. On-demand loading: When a query hits the model, data is loaded from Parquet files directly into the VertiPaq engine
  3. No data duplication: Unlike Import, no copy of data is stored in the semantic model
  4. Near-import performance: Once loaded into memory, queries run at VertiPaq speed

Direct Lake vs Import vs DirectQuery

Feature Import DirectQuery Direct Lake
Data freshness Snapshot at refresh Real-time Near real-time (after framing)
Query performance Fastest (all in memory) Depends on source Near-import (on-demand load)
Refresh time Minutes to hours N/A Seconds (framing only)
Refresh cost High (full data copy) None Very low (metadata only)
Data size limit 10GB (Premium), 1GB (PBIX) Source limit Fabric capacity limit
DAX support Full Limited Full
Calculated columns Yes No Yes
Source requirement Any Any OneLake delta tables only
Capacity requirement Any Any Fabric F-SKU

Direct Lake Variants (2025-2026 GA)

Variant Source Multi-Source Fallback Use Case GA Status
Direct Lake on OneLake (DL/OL) OneLake delta files Yes (multiple Fabric items) NO fallback Flexible, multiple lakehouses GA
Direct Lake on SQL (DL/SQL) Fabric SQL endpoint No (single Fabric item) Falls back to DirectQuery SQL-centric, single source GA

Creating a Direct Lake Semantic Model

In Power BI Desktop (2025+ preview):

  1. Get Data > OneLake data hub
  2. Select Fabric lakehouse or warehouse
  3. Choose tables (loaded as Direct Lake automatically)
  4. Build measures and relationships in Desktop
  5. Publish to Fabric workspace

Via Fabric Service:

  1. Open lakehouse/warehouse in Fabric
  2. Click "New semantic model"
  3. Select tables to include
  4. Open model in web to add measures and relationships

Programmatically via TOM:

var database = new Database() { Name = "DirectLakeModel" };
var model = new Model() { Name = "DirectLakeModel" };
database.Model = model;

// Direct Lake partition source
var table = new Table() { Name = "Sales" };
table.Partitions.Add(new Partition() {
    Name = "Sales-DL",
    Mode = ModeType.DirectLake,
    Source = new EntityPartitionSource() {
        EntityName = "Sales",
        SchemaName = "dbo",
        ExpressionSource = new ExpressionSource() {
            Expression = "DatabaseQuery"
        }
    }
});
model.Tables.Add(table);

Critical distinction: DL/OL does NOT fall back to DirectQuery. If data cannot be served from memory, the query fails. This means DL/OL models must be carefully sized within capacity guardrails.

Direct Lake Guardrails by Capacity

Guardrail F2 F4 F8 F16 F32 F64 F128
Max model size on disk 2 GB 4 GB 8 GB 16 GB 32 GB 64 GB 128 GB
Max rows per table 300M 300M 300M 1.5B 3B 6B 6B
Max files/row groups per table 1K 1K 1K 1K 1K 5K 5K
Concurrent DL queries 4 8 16 32 64 128 256

Max Memory is a soft limit for paging -- exceeding it causes performance degradation but not failure.

Max model size on disk/OneLake is a hard guardrail -- exceeding causes DQ fallback (DL/SQL) or query failure (DL/OL).

Direct Lake Fallback Configuration

Fallback Behavior Setting Impact
Automatic fallback to DirectQuery Default (DL/SQL only) Query still works but slower
Block fallback DirectLakeBehavior = DirectLakeOnly Query fails if cannot serve from DL
No fallback option Default (DL/OL) Queries always fail if data unavailable

Monitor fallback in Fabric Capacity Metrics app -- frequent fallback indicates model design issues.

Common fallback triggers (DL/SQL):

  • Columns not loaded into memory due to capacity limits
  • Calculated columns on Direct Lake tables (may trigger DQ fallback)
  • Certain DAX patterns that require full table scan
  • Stale framing (delta tables changed but model not re-framed)
  • File/row-group count exceeding capacity guardrails

Power BI Embedded with Direct Lake (GA March 2025)

Direct Lake mode is now fully supported for embedded ana

Полный SKILL.md на GitHub

Установить fabric-integration в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/fabric-architecture-patterns.md

FAQ

Что делает скилл fabric-integration?

Microsoft Fabric integration with Power BI semantic models. PROACTIVELY activate for: (1) Microsoft Fabric platform tasks, (2) Direct Lake mode and OneLake connectivity, (3) Fabric lakehouse, warehouse, KQL Database, Eventstream, Data Activator, (4) Dataflow Gen2 ETL, (5) Fabric notebooks (PySpark, Spark SQL, semantic-link), (6) Fabric workspace and capacity (F-SKU) management, (7) delta tables and V-Order optimization, (8) medallion architecture (bronze/silver/gold), (9) Semantic Link / sempy / semantic-link-labs Python workflows, (10) Direct Lake fallback rules and mixed mode. Provides: Direct Lake setup, Fabric capacity sizing, lakehouse-to-semantic-model patterns, sempy/semantic-link-labs recipes, and end-to-end medallion architecture templates.

Как установить скилл fabric-integration?

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

Скилл fabric-integration запускает скрипты?

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

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

Сравнить fabric-integration с