Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计通过

powerbi-corePowerbi 核心

Agent Skill

powerbi-core 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

449

周安装

18

GitHub Stars

33

下载量

145
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:powerbi-core(Powerbi 核心)
来源仓库:https://github.com/josiahsiegel/claude-plugin-marketplace
仓库路径:skills/powerbi-core
安装命令:
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill powerbi-core
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill powerbi-core

简介

powerbi-core 用于处理 GitHub 仓库、Issue、Pull Request 等协作信息,适合在代码协作场景中整理变更与状态。

  • 适用于围绕仓库状态、代码变更或协作事项的信息组织与汇总。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前应确认权限范围、维护状态及是否执行命令或访问文件。
  • 具体功能需参考原始 README 进一步验证。

SKILL.md

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:

ComponentPurposeExample
Fact tableNumeric events/transactionsSales, Orders, WebVisits
Dimension tableDescriptive attributesDate, Product, Customer, Geography
Bridge tableMany-to-many resolutionStudentCourse, 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

ModeData LocationRefreshPerformanceUse When
ImportIn-memory VertiPaqScheduled/on-demandFastest queriesDefault choice, data under 1GB compressed
DirectQuerySource databaseReal-timeDepends on sourceReal-time needed, data too large for import
DualBothScheduled + real-timeBest of bothDimension tables in composite models
Direct LakeOneLake delta tablesFraming (seconds)Near-import speedFabric 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

PropertyOptionsDefault
CardinalityOne-to-many, Many-to-one, One-to-one, Many-to-manyOne-to-many
Cross-filter directionSingle, BothSingle
ActiveYes/NoYes (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

CategorySources
Microsoft SQLSQL Server, Azure SQL, Azure Synapse, SQL Server Analysis Services
AzureCosmos DB, Data Explorer (Kusto), Blob Storage, Data Lake, Fabric Lakehouse/Warehouse
Cloud DatabasesSnowflake, Databricks, Google BigQuery, Amazon Redshift, Amazon Athena
FilesExcel, CSV/TSV, JSON, XML, Parquet, PDF
ServicesSharePoint, Dynamics 365, Salesforce, Google Analytics, Azure DevOps
ProtocolsOData, REST API, ODBC, OLEDB
StreamingAzure 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 enable "detect data changes" with a last-modified column
  5. Optionally enable real-time data with DirectQuery for the latest partition

Requirements: Premium, PPU, or Fabric capacity for more than basic incremental refresh. Pro workspaces support incremental refresh but with limitations.

2025-2026 improvements:

  • Semantic models with incremental refresh can now be edited directly in Power BI Service (change calculated columns, rename tables, adjust hierarchies) without reopening Desktop
  • Enhanced refresh API supports selective partition refresh for finer control
  • Improved performance for terabyte-scale datasets with faster partition processing

Gateway Configuration

On-premises data gateway bridges on-premises sources to Power BI Service:

Gateway TypeUse Case
Standard (enterprise)Shared by multiple users, centrally managed
PersonalSingle user, development/testing only
Virtual Network (VNet)Azure VNet-connected sources, no on-prem hardware

VNet data gateway (2025-2026):

  • Connects to Azure data sources within a VNet without on-premises hardware
  • Managed by Fabric/Power BI Service, no gateway machine maintenance
  • Supports Azure SQL, Synapse, Azure Data Explorer, and other VNet-bound services
  • Enable in Fabric Admin portal under gateway management

Gateway releases (2025-2026):

  • Monthly releases throughout 2025-2026 with enhanced caching and query folding
  • Improved query performance through optimized connection pooling
  • 64-bit only for Power BI Desktop for Report Server starting September 2025

Common gateway failures:

  • Credentials expired -- update in gateway settings
  • Source unreachable -- check firewall, VPN, DNS
  • Memory exhaustion -- monitor gateway machine resources
  • Mashup engine crash -- check Power Query complexity

Data Source Authentication

MethodUse CaseBest For
OAuth2Cloud sources (Azure SQL, Snowflake, Databricks)Interactive use, SSO
Service PrincipalAutomated refresh, CI/CD pipelinesUnattended operations
Workspace IdentityFabric workspaces (no secret to manage)Fabric-native models
Managed IdentityDataflows Gen2 to Azure sourcesZero-secret PaaS access
Username/PasswordLegacy on-prem sourcesGateway-bound sources

Workspace Identity (2025-2026):

  • Tied to a Fabric workspace, similar to Azure Managed Identity
  • No expiration, no secret or password to manage
  • Configure in workspace settings, assign to semantic model data sources
  • Preferred over service principal for Fabric-native scenarios

OAuth2 token limitation: When set via REST API (not UI), OAuth2 credentials lack a refresh token and expire after 1 hour. Use service principal for long-running automation.

Connection pooling best practices:

  • Gateway reuses connections where possible -- minimize distinct credential sets
  • Set query timeout in data source settings (default 5 min, increase for complex queries)
  • Implement retry logic in Power Query for transient source failures using try/otherwise

Common Gotchas and Anti-Patterns

PitfallImpactFix
Auto date/time enabledHidden date tables bloat model (one per date column)Disable in Options > Data Load
Implicit measures (drag numeric to visual)No control over aggregation, no reuseCreate explicit DAX measures
Bidirectional cross-filterAmbiguity, performance degradation, wrong resultsUse single-direction, handle in DAX
Too many columns in fact tablesBloated model, slow refresh, wasted memoryKeep facts narrow: keys + numeric values
BLANK vs 0 vs null confusionDAX treats BLANK differently from 0; visuals hide BLANK rowsUse IF/COALESCE to handle explicitly
Circular dependency errorsUsually from calculated columns referencing each other or bidirectional filtersRestructure model, break the cycle
1GB PBIX limitCannot save file locallyRemove unused columns, optimize cardinality
Power BI Service vs Desktop gapSome features only available in one or the otherCheck feature matrix before designing
Calculated columns vs measuresCalculated columns consume memory, stored per rowPrefer measures (computed at query time)
String columns in fact tablesHigh cardinality strings destroy VertiPaq compressionMove to dimension table, use key reference

Additional Resources

Reference Files

  • references/data-sources-detail.md -- Detailed connector configuration for all source types
  • references/gotchas-deep-dive.md -- Extended pitfall analysis with examples and resolution patterns

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.58%
按下载量换算52

Claude

29.33%
按下载量换算43

Cursor

16.44%
按下载量换算24

Gemini CLI

9.14%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills