semantic-mapper
Installation
SKILL.md
Semantic Mapper
Translate a data model description into a Power BI TMDL semantic model. This skill accepts either a Databricks Genie YAML metric view (legacy path) or a source-agnostic data-model.json produced by data-source-connector (preferred path for non-Databricks sources), and produces the complete set of TMDL files needed for a Power BI semantic model.
Input Modes
The skill supports two input formats. Detect which mode to use based on the input artifact:
| Mode | Input Artifact | When To Use |
|---|---|---|
yaml (legacy) |
Genie YAML metric view (genie-metric-view.yaml) |
Databricks Genie workflows where a curated metric view already exists |
data-model (preferred) |
data-model.json from data-source-connector |
Any other source: SQL DBs, Snowflake, BigQuery, Excel, CSV, OData, SharePoint, etc. |
data-model Mode Mapping
When the input is data-model.json, map its fields directly to the TMDL generation steps below: