auto_arrange
Auto-arrange Power BI report page into a structured grid: header textboxes at top, slicer filter bar, KPI cards, then data visuals in balanced rows. Call after placing visuals roughly to snap them into a consistent layout.
Instructions
Auto-arrange a page into a clean professional grid in ONE call: header textboxes full-width at top, then a slicer filter-bar, then a KPI-card row, then the data visuals (charts/tables) in a balanced grid that fills the page - consistent margins, gutters and alignment. Add visuals roughly, then call this to snap them into a designed layout. Decorative shapes/images stay put.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gutter | No | gap between visuals px | |
| margin | No | outer margin px | |
| pageName | Yes | ||
| kpiHeight | No | KPI card height px | |
| maxPerRow | No | max data visuals per row (1-4) | |
| canvasWidth | No | canvas width (default = page width) | |
| canvasHeight | No | canvas height (default = page height) | |
| headerHeight | No | header textbox height px | |
| slicerHeight | No | slicer height px | |
| reportSessionId | Yes |