Skip to main content

Data Colors

The Data Colors card controls the color of each series.

Data Colors panel with per-series color pickers and conditional formatting

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:

  1. Conditional formatting (fx) — Rules set via the fx button in Data Colors
  2. Series Color data role — Hex codes from your data model
  3. Power BI color palette — The theme's automatic colors
  4. 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.