pbi_create_persistent_report
Generate a persistent Power BI report (PBIX) with data model, DAX measures, relationships, pages, and visuals, plus optional style presets.
Instructions
Create a persistent PBIX with DataModel, DAX measures, relationships, pages, and native visuals.
prime_string_store (default True) injects a one-row sentinel
into every empty Import table whose schema declares a String column,
so Vertipaq's DBCC string-store consistency check passes on reopen.
Disable only when you know the table will be populated by Power BI
Desktop's first refresh (e.g. via a DirectQuery binding or a Power
Query expression set after the PBIX is created).
style_preset (optional) names a built-in styling preset
(glassmorph_dark, glassmorph_light, neon_cyber,
minimal_corporate, dark_pro, or custom). When set, the
matching preset is applied to the file via
pbi_apply_style_preset_tool right after save, so the produced
PBIX opens with wallpaper, card chrome, accent colours, and the
preset's theme already wired up. style_wallpaper_path overrides
the preset's default wallpaper; style_custom_spec is required
when style_preset='custom'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| tables | Yes | ||
| measures | No | ||
| output_path | Yes | ||
| style_preset | No | ||
| relationships | No | ||
| open_after_create | No | ||
| style_custom_spec | No | ||
| prime_string_store | No | ||
| style_wallpaper_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |