A rule-based alert, notification, and data quality message bar visual for Power BI.
Message Bar is a fully configurable custom visual for Power BI that displays stacked, rule-based alert messages for KPIs.
It is designed for operational dashboards, data quality checks, exception reporting, and SLA monitoring where users need clear, concise, and actionable messages.
Each rule evaluates a KPI value against a target and outputs:
It behaves like a polished, Fluent-style UI component rather than a typical chart visual.
This is the easiest and most flexible way to power the Message Bar visual.
Include the measures you want to monitor (e.g. Fulfilment Rate, Stock Level, Data Freshness).
Power BI automatically creates a hidden table containing:
To reveal hidden tables:
Right-click the Data pane → Show hidden.
In the Message Bar visual:
This gives the visual a stable scenario key and the actual KPI value.
If you want dynamic targets/thresholds:
Each rule supports:
<, >, =, ≠)The visual evaluates all rules and displays any messages that match.
Value (actual KPI)CompareTo (from field or fixed value)VALUE vs TARGET
If multiple rules fire, they stack and show one at a time:
| Setting | Value |
|---|---|
| Scenario | 0 |
| Operator | < |
| Compare Source | Field |
| Message (TRUE) | Fulfilment rate is below target |
| Severity (TRUE) | Critical |
| Message (FALSE) | Fulfilment is on target |
| Severity (FALSE) | Success |
.pbiviz file from the /dist folder..pbiviznpm install -g powerbi-visuals-tools
pbiviz start
pbiviz package
The generated .pbiviz file will appear in:
/dist
src/
visual.ts // Rendering, rule evaluation, message queue
settings.ts // Format pane model (rules, messages, severity)
style/visual.less // Fluent UI styling
assets/ // Icons for severities + dismiss
capabilities.json // Data roles & formatting objects
pbiviz.json // Visual manifest (guid, icon, metadata)
dist/ // Packaged .pbiviz output
Copyright © 2025 Doccrs Analytics.
Permission is granted to download and use the packaged visual (.pbiviz) for personal or commercial Power BI reports.
The source code is provided for learning purposes only. You may not copy, modify, redistribute, republish, or create derivative works based on the source code in this repository.
Attribution must not be removed. You may not claim authorship. All rights reserved.
Created as part of the Doccrs Analytics Power BI UX component library.
Built for dashboards where clarity, design quality, and actionability matter.