open_template_model
Reads the data model from a closed Power BI template (.pbit) file, returning tables, measures, and relationships without Power BI Desktop.
Instructions
Read the model of a closed .pbit template's DataModelSchema on disk, with no Power BI Desktop and no engine: returns each table with its columns (name + data type + key properties) and measures (name + DAX expression + display folder), plus the relationships (from/to). A .pbit that has no DataModelSchema part (a live-connection or PBIR-only template) comes back ok:false with a clear note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pbitPath | Yes | path to the closed .pbit template |