This guide gives UK SME teams a practical implementation path: start with the business question, check the data or workflow, build the smallest useful version, then document what has changed.
This guide gives UK SME teams a practical implementation path: start with the business question, check the data or workflow, build the smallest useful version, then document what has changed.
Apply Power BI conditional formatting with a DAX measure that returns clear status, colour or threshold values.
2026-06-16 8 min read min read Digital Adaption On this pageConditional formatting is useful when it helps users act faster. It becomes a problem when colours are hard-coded differently in every visual and nobody can explain the threshold. This guide shows a measure-led approach that keeps formatting consistent. For broader reporting repair work, see the Power BI consultancy and ERP reporting analytics pages.
Practical answerCreate a business measure first, create a separate formatting measure that returns a hex colour or status, then apply it through conditional formatting by field value.
Do not start with colours. Start with the operational rule. For example, OTIF below 95 percent might be amber, below 90 percent red, and 95 percent or above green. Those thresholds should come from the process owner.
If the rule varies by customer, site or product group, capture that in data rather than creating separate visuals with separate hard-coded settings.
Keep the formatting measure separate from the KPI measure. The KPI should return a number. The formatting measure should return a colour code or label.
SWITCH TRUE is readable for threshold logic and easy for another analyst to review.
OTIF % =
DIVIDE ( [Orders On Time In Full], [Orders Due] )
OTIF Colour =
SWITCH (
TRUE (),
ISBLANK ( [OTIF %] ), "#94A3B8",
[OTIF %] < 0.90, "#DC2626",
[OTIF %] < 0.95, "#F59E0B",
"#16A34A"
)
In the visual formatting pane, choose conditional formatting, select field value, and point Power BI at the colour measure. Test it at row level and total level because totals may have different context from individual rows.
Where the report is operationally important, add a tooltip or small legend explaining what the colours mean. Users should not have to guess the threshold.
If the number and colour are calculated separately, users cannot audit the result. Keep the numeric KPI visible somewhere.
Colour-only reports are harder to use and easier to misread. Add a label, tooltip or status field where the decision matters.
A row may be red while the total is green because the total is recalculated, not averaged from row colours.
Digital Adaption helps UK SMEs rebuild trusted Power BI, ERP and operational reporting after migrations, ownership gaps and model drift.
It can return text or Unicode-style symbols, but built-in icon sets are usually easier to maintain. Use a colour/status measure when you need consistent logic across visuals.
Some visual fields and custom visuals do not support every formatting option. Check that the field is in the correct bucket and use field value formatting where available.
Start with a 30-minute data risk call