pbi_create_visual
Create a Power BI visual (PBIR) on a report page by specifying visual type, fields, and position. It reuses an existing visual of the same type as a template and creates a backup.
Instructions
Crea un visual PBIR en una pagina.
visual_type: card|table|matrix|slicer|barChart|columnChart|lineChart|pieChart.
fields: roles logicos -> campos, p.ej. {"category":"Tabla[Col]",
"values":["[Medida]"], "legend":"Tabla[Col]"}.
position: {x, y, width, height} (z opcional).
Clona un visual del mismo tipo como plantilla si existe. Hace backup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| title | No | ||
| fields | Yes | ||
| position | Yes | ||
| request_id | No | ||
| visual_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |