Data Colors
The Data Colors card controls the color of each series.
Default Color
The base color used when no other color source is available.
Per-Series Colors
Each series appears as a color picker in the Data Colors card. Click a color to change it, or use the fx button to apply conditional formatting rules.
Color Priority
Colors are resolved in this order:
- Conditional formatting (fx) — Rules set via the fx button in Data Colors
- Series Color data role — Hex codes from your data model
- Power BI color palette — The theme's automatic colors
- Default colors — Built-in 10-color fallback array
Using the Series Color Data Role
Instead of setting colors manually in the formatting pane, you can drive colors from your data:
BrandColor = SWITCH(
SELECTEDVALUE(Brand[Name]),
"Citroen", "#E2001A",
"Renault", "#FFCB05",
"Peugeot", "#1B3D6D",
"#888888"
)
Drag this measure into the Series Color data well.