Chris Potts
03/25/2026, 1:51 PMkapa.ai
03/25/2026, 1:52 PM[<600000][red]$#,#.##;[=600000][yellow]$#,#.##;[>600000][green]$#,#.##
You can also set background colors:
[>=.9][backgroundcolor=990000][white]#,##0%;
[>=.7][backgroundcolor=AD3333][white]#,##0%;
[>=.5][backgroundcolor=C26666]#,##0%;
[backgroundcolor=F5E6E6]#,##0%
Each metric can have its own custom rule, so different visuals can have different thresholds. However, this only works for tables and headline (KPI) reports â it does not apply to bar charts or other chart types. [color formatting limit] 2. Color Mapping via GoodData.UI SDK (Charts) For embedded chart visualizations (using the GoodData.UI SDK), you can use colorMapping to assign specific colors to individual measures or attribute elements programmatically. This allows per-visualization custom rules in code: [color mapping]
<InsightView
insight="<InsightView-id>"
config={{
colorMapping: [{
predicate: (headerItem) =>
headerItem.measureHeaderItem?.localIdentifier === "m1_localIdentifier",
color: {
type: "rgb",
value: { r: 255, g: 0, b: 0 } // Red
}
}, {
predicate: (headerItem) =>
headerItem.measureHeaderItem?.localIdentifier === "m2_localIdentifier",
color: {
type: "rgb",
value: { r: 0, g: 128, b: 0 } // Green
}
}]
}}
/>
colorMapping overrides all other color settings and can be defined differently per visualization component. Summary > â ī¸ Note: Conditional color formatting (red/green based on value thresholds) is not supported for bar charts or other non-table/headline visualizations in the standard UI. đ 0 button đ 0 button âšī¸ Tip: Mention @kapa.ai in the thread for follow-ups.
đ Our Support team monitors all messages and will jump in if needed., with interactive elementsShamil Akhmadyshev
03/25/2026, 2:03 PMChris Potts
03/25/2026, 2:03 PMChris Potts
03/26/2026, 11:39 AMShamil Akhmadyshev
03/26/2026, 12:00 PM[<600000][red]$#,#.##;[>600000][green]$#,#.##. Here are the details: conditional formatting.Chris Potts
03/26/2026, 12:01 PMShamil Akhmadyshev
03/26/2026, 12:11 PMChris Potts
03/26/2026, 1:19 PM