agentleFS
90le90le/microsoft-excel-bi-agent/skills/power-bi-semantic-model/SKILL.md

power-bi-semantic-model

Skill2 starsChanged 5 months agoMITView on GitHub

Use when reasoning about Power BI PBIX, TMDL, XMLA, Tabular models, calculation groups, DAX portability, or boundaries between Power BI semantic models and Excel Power Pivot.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prefer Excel-compatible DAX patterns such as ALL, FILTER, and DIVIDE.

    line 16
  2. Distinctive:

    Treat Power BI-specific or newer functions as portability risks until verified.

    line 17
  3. Distinctive:

    Use official Microsoft documentation when exact support or current product behavior matters.

    line 21
  4. Distinctive:

    If the same measure must work in Excel and Power BI, choose the stricter host or maintain separate variants.

    line 27
  5. Very specific:

    Read references/host-boundary.md before claiming that an Excel Power Pivot pattern is valid in Power BI, or that a Power BI semantic model …

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Power BI Semantic Model

Core Rule

Confirm the host before writing DAX or model guidance. Power BI semantic models and Excel Power Pivot share tabular concepts, but feature support, deployment, refresh, and tooling are not identical.

Decision Path

  1. Excel workbook target
    • Use power-pivot-dax-modeling.
    • Prefer Excel-compatible DAX patterns such as ALL, FILTER, and DIVIDE.
    • Treat Power BI-specific or newer functions as portability risks until verified.
  2. Power BI semantic model target
    • Identify whether the task involves PBIX, TMDL, XMLA endpoint, dataset/semantic model refresh, DAX measures, relationships, calculation groups, or deployment pipelines.
    • Use official Microsoft documentation when exact support or current product behavior matters.
    • Separate static DAX/model review from live model deployment or refresh evidence.
  3. Portability review
    • Compare function support and host assumptions.
    • Flag Excel-only workbook patterns, CUBE formula dependencies, Power Query load targets, and Power BI-only features.
    • If the same measure must work in Excel and Power BI, choose the stricter host or maintain separate variants.

Validation

  • For Excel: run the package's DAX compatibility lint and model-report workflows.
  • For Power BI: use model source files or exported metadata when available; do not imply PBIX internals were modified unless a supported tool actually did so.
  • For current product behavior, verify against official Microsoft Learn/Fabric documentation.

Boundaries

  • This plugin does not decode or rewrite PBIX binaries by default.
  • Static DAX review does not prove model refresh or report visuals.
  • Excel ThisWorkbookDataModel and Power BI semantic models should not be treated as interchangeable runtime targets.

References

  • Read references/host-boundary.md before claiming that an Excel Power Pivot pattern is valid in Power BI, or that a Power BI semantic model pattern is valid in Excel.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.