Change Chart Bar Colors based on tag

I’m trying to separate the visualization of shift data. For example one shift of Good, Bad, and Total Parts would have a set of colors. The second shift, a different set. I have a tag denoting Shift 1 or 2 that actually drives the data into the database. What’s the best way to go about this?

If you’re using a Power Table to display the data (maybe as the result of a query) include the shift number in the returned data and then use that to drive the color of cells for that line in the table using the configureCell extension function for the Power Table.

Kurt