What problem does it solve?
Building Python script visuals in Power BI requires knowing the PBIR JSON format, the auto-injected dataset DataFrame behavior, supported package versions, and strict rendering rules like the mandatory plt.show() call. This Skill guides an AI agent through creating, injecting, and validating Python visuals in PBIR reports without hand-editing report JSON.
Core Features & Use Cases
- End-to-end visual workflow: Add a
pythonVisual via the pbir CLI, write the matplotlib/seaborn script, inject it with pbir visuals python, and validate bindings with pbir validate.
- Chart pattern library: Ready-made patterns for bar charts, heatmaps, donut charts, KPI cards, scatter plots with regression, histograms with KDE, and box plots, plus complete PBIR visual.json examples.
- Data model guidance: Explains the 150,000-row deduplicated cap, the 250 MB input limit, and how to force per-row input by binding a unique key column.
- Use Case: Ask the agent to add a Python visual showing a seaborn heatmap of sales by region and month; it adds the visual, writes the script, injects it into the PBIR report, and validates the result.
Quick Start
Ask the agent to create a Python visual on a report page, for example: add a matplotlib bar chart of revenue by category to my PBIR report.