I need to chnge fill color depending on slelected value but got error "Incompatible types for comparison, these types can't be compared: Record, Text"
here is how it looks:

If(
DataCardValue9.Selected = "Client", Color.Blue,
DataCardValue9.Selected = "Printer", Color.Green,
DataCardValue9.Selected = "BMS", Color.Yellow,
DataCardValue9.Selected = "Production", Color.Pink,
DataCardValue9.Selected = "CCTV", Color.Purple
)
i tried with switch but no effects
