data-fetching

Installation
SKILL.md

Data Runtime (App Code Phase)

Generate React app code that fetches Power BI data at runtime using the Fabric SDK. Queries should already be validated and saved as .dax files (use the data-discovery skill for that).

Data Fetching

  • The useSemanticModelQuery hook (src/hooks/use-semantic-model-query.ts) is the primary way to fetch data in React components. It wraps the Fabric SDK client.
  • The hook uses getFabricClient() internally — components should use the hook, not the client directly.
  • For details on the SDK's caching behavior, error handling, and protocol options, see the fabric-sdk skill.

Basic usage

Installs
1
First Seen
May 19, 2026
data-fetching — microsoft/fabric-apps-analytic-templates