pbi_create_html_visual
Creates an HTML Content visual in Power BI that renders HTML or SVG from a DAX measure, automatically registering the custom visual if needed.
Instructions
Crea un visual "HTML Content" que renderiza el HTML/SVG devuelto por una medida.
html_measure: medida cuyo resultado es HTML (p.ej. "[HTML Panel EVM]").
Registra el custom visual en el informe si aun no esta. La medida se crea
aparte con pbi_create_measure (el HTML se arma en DAX, tipicamente con VARs
y CONCATENATEX sobre los datos del modelo).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page": "<page>",
"html_measure": "<html_measure>",
"position": "<position>"
},
"name": "pbi_create_html_visual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| title | No | ||
| position | Yes | ||
| request_id | No | ||
| html_measure | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |