pbi_add_visual
Add any visual to a Power BI report page — the single entry point for visual creation. Supports charts, tables, cards, slicers, maps, and more with configurable fields.
Instructions
Add any visual to a report page — the single entry point for visual creation.
visual_type: card, labelled_card, multi_row_card, bar_chart,
stacked_bar_chart, stacked_column_chart, clustered_column_chart,
hundred_percent_stacked_bar_chart, hundred_percent_stacked_column_chart,
ribbon_chart, line_chart, area_chart, stacked_area_chart,
hundred_percent_stacked_area_chart, donut, pie_chart, treemap, funnel,
table, waterfall, scatter_chart, combo_chart, slicer, gauge, kpi,
matrix, map, text_box.
config: per-type keys — categorical charts: category_column +
value_measure (+ legend_column); axis charts: axis_column +
value_measures (list); card/gauge: measure; table: columns (list);
matrix: rows + values (lists); scatter: category_column + x_measure +
y_measure; combo: category_column + bar_measures + line_measures;
kpi: indicator_measure + trend_column; slicer: column (+ slicer_type);
map: location (+ measure); text_box: text. Error messages name any
missing key. Prefer pbi_add_visual_from_intent when you have a
business intent rather than an exact type.
dry_run: when True, run all validation and binding logic but skip the
layout disk write — response carries dry_run=True and a
write_log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| page | Yes | ||
| title | No | ||
| width | No | ||
| config | No | ||
| height | No | ||
| dry_run | No | ||
| visual_type | Yes | ||
| extract_folder | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |