add_error_bars
Add error bars to Power BI charts using either field-based upper/lower bounds or percentage-based uncertainty. Configure absolute/relative relation, symmetry, and fill/line style.
Instructions
Add ERROR BARS to a chart (the errorBars object). kind=byField: upperField (+ lowerField unless symmetrical) measures bound from measureTable. kind=byPercentage: percent of the value. relation = Absolute|Relative. symmetrical optional. band = Fill|Line|Both. Verify the render in Desktop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | No | Fill | Line | Both | |
| kind | Yes | byField | byPercentage | |
| page | Yes | page name or displayName | |
| visual | Yes | chart visual name | |
| percent | No | percent of value (byPercentage) | |
| relation | No | Absolute | Relative | Absolute |
| lowerField | No | lower-bound measure (byField, omit if symmetrical) | |
| upperField | No | upper-bound measure (byField) | |
| symmetrical | No | symmetrical bars | |
| measureTable | No | table that owns the bound measures (byField) | |
| reportSessionId | Yes |