Bar graph colors depending on evolution

You could add a new calculated field to your query, for example a field called comparison with values of:

  • -1 to indicate it is less than the previous value
  • 0 to indicate it is the same as the previous value
  • 1 to indicate it is more than the previous value

Here’s an example of what the data coming back from your query might look like.

image

You can then use the Color by field property on your comparison field.
image

And then define value mappings for the colors:
image

This will result in a bar chart that looks like this: