svg-visuals

Installation
SKILL.md

SVG Visuals via DAX Measures (PBIR)

Report modification requires tooling. Two paths exist:

  1. pbir CLI (preferred) -- use the pbir command and the pbir-cli skill. Install with uv tool install pbir-cli or pip install pbir-cli. Check availability with pbir --version.
  2. Direct JSON modification -- if pbir is not available, use the pbir-format skill (pbip plugin) for PBIR JSON structure and patterns. Validate every change with jq empty <file.json>.

If neither the pbir-cli skill nor the pbir-format skill is loaded, ask the user to install the appropriate plugin before proceeding with report modifications.

Generate inline SVG graphics using DAX measures that return SVG markup strings. These render as images in table, matrix, card, image, and slicer visuals. Store as extension measures in reportExtensions.json.

How It Works

  1. A DAX measure returns an SVG string prefixed with data:image/svg+xml;utf8,
  2. The measure's dataCategory is set to ImageUrl
  3. Power BI renders the SVG as an image in supported visuals

Supported Visuals

| Visual | visualType | Binding | Reference |

Related skills

More from data-goblin/power-bi-agentic-development

Installs
10
GitHub Stars
573
First Seen
Apr 2, 2026