generate_pbip
Generate a text-based PBIP project from a live semantic model and a source PBIX report, producing .SemanticModel, .Report, and .pbip files that open in Power BI Desktop/Fabric without a live engine.
Instructions
Generate a complete text-based PBIP project from the live model + a source pbix's report: .SemanticModel (TMDL via the official serializer) + .Report (legacy report.json + definition.pbir + StaticResources) + .pbip. Pure files - Power BI Desktop / Fabric open it directly, NO live engine needed to author. This is the spine that gets the whole tool off the live-Desktop dependency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | project name (used for the .pbip / .SemanticModel / .Report folder names) | |
| sessionId | Yes | ||
| includeData | No | also back the model up to cache.abf so the project opens WITH data (no manual refresh). Bigger output. Default false. | |
| outputFolder | Yes | output folder for the project (created/overwritten) | |
| sourcePbixPath | Yes | source .pbix to take the report (Report/Layout + StaticResources) from |