semantic-model-data
Installation
SKILL.md
Semantic Model Data at Runtime
Overview
The app runs DAX against a semantic model through a connector registered in
rayfin/rayfin.yml (see AGENTS.md). The app sends only the query; the
connector's workspaceId and itemId are injected server-side.
Quick Start
Use the hook. It caches and never throws: every failure, whether the connector
threw or Power BI returned an error, is normalized into the same result shape
and arrives as data.status === "error".
import { useSemanticModelQuery } from "@/hooks/use-semantic-model-query";