add_svg_progress_bar
Creates an SVG progress bar or bullet chart in Power BI, rendering a track and fill scaled to value/target in a cell. Supports optional target tick for bullet style, with custom colors and dimensions.
Instructions
Author an SVG PROGRESS BAR / BULLET measure (DataCategory=ImageUrl): a track + a fill scaled to value/target, rendered in-cell. kind=bar|bullet (bullet adds a target tick). trackColor is the rail; fillColor the achieved portion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | bar | bullet | bar |
| name | Yes | ||
| table | Yes | ||
| width | No | svg width in px | |
| height | No | svg height in px | |
| fillColor | No | fill colour hex | #2E7D32 |
| sessionId | Yes | ||
| trackColor | No | track colour hex | #E6E9EF |
| valueMeasure | Yes | the value measure (achieved) | |
| targetMeasure | Yes | the target measure (100%) |