Is there a way to target specific data attributes/...
# gd-beginners
m
Is there a way to target specific data attributes/values and assign colors to them? ... For example, in sales pipeline data, always having Sold=green; Lost=red, and so on. Or another example would be status, Pending=yellow; Approved=green, and so on. ..Currently, we're having to update at the individual insight level to make different insights display values in the same way.
j
Hi Megan, you can certainly add custom number formatting to adjust values for colors. Please see the following documentation: https://www.gooddata.com/docs/cloud/create-metrics/format-numbers/#text-font-colors However, there is no way to keep the formatting in your datasource and consistently have these labels maintain that color. It needs to be done on the metric or insight level.
m
Got it, thank you. Yes, more looking at a way to colorize at datasource level.
m
Hi Megan, I do not think there is such setting on the data source level for custom colors for specific attribute values at the moment. But it might help to know that the colors in charts are associated to attribute values in the order they appear in the defined color palette and based on the sort order of the attributes. So sorting the colors in the palette and adding a label for custom sort of a particular attributes might help you achieve that. But the palette is shared for all the attributes.
m
Ok thanks. Will look into that workaround.
p
🎉 New note created.