Conditional Colors in Bar Chart Using Dimension Values

ss_s8
New Member

Hi,

I’ve just started using Looker and I created a histogram of two data series that are blended together. So I have 2 dimensions, “grouping” and “monetization”, and 1 measure, “percentage”. So a sample of the data would look like this:
Grouping Monetization Percentage
A $1.00 80%
B $1.00 75%
A $2.00 20%
B $2.00 25%

I’m currently displaying the data in a bar chart, and i have it ordered in the way that I want with the percentage values showing - so it’s mostly good. The issue I have is that I want to visually differentiate the two groupings, so I’d like to use the chart options to define a different color for the two groups. I was thinking green for grouping A, and blue for grouping B. Is this possible? I know I can do this in the LookML for the values, but I don’t know how to do this within a visualization, or if it’s even possible. Any help would be greatly appreciated!

2 13 8,043
13 REPLIES 13
Top Labels in this Space