pbi_diagnose_render_risks
Detect conditions in Power BI report layout that prevent visual rendering, including constant measures, unresolved home tables, and missing references.
Instructions
Aggregate render-risk diagnostic for visuals on disk.
Read-only. Walks the extracted layout and reports conditions known to make Power BI Desktop refuse to render a visual or surface an opaque internal error:
Constant Y measure on a cartesian chart (line / combo / area / waterfall). The bug-0.92 family: a measure whose DAX expression has no column or measure reference (or returns BLANK() unconditionally) collapses every Y point to the same scalar with no axis dependency, which some PBI builds reject.
Unresolved measure home table — the binding falls back to the synthetic
$Measuresentity which PBI refuses to plot.Missing column / measure / wrong reference kind in the live model (only when
manageris supplied).Query-ref mismatch between projections and prototypeQuery Select entries.
A live manager enables DAX-expression heuristics for the
constant-measure check; without it the call still reports unresolved
home tables and binding-shape issues that don't need the live model.
Pass visual_id to narrow to a single visual; pass page to
narrow to a specific page; both omitted scans the whole report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| visual_id | No | ||
| extract_folder | Yes | ||
| include_hidden | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |