How to make bar or column chart colors dynamic when changing dates?

I have this chart where I have several categories on x-axis so I'm finding a way around for the least cost to be blue and the highest cost as red whenever it changes dates and the rest say gray

Tagged:

Best Answer

  • ArborRose
    ArborRose Coach
    Answer ✓

    You could create a calculated field that identifies the lowest and highest. So when its min, the fields says lowest, and its max the field says highest, otherwise its empty. Then use color rules based on the calculated column, when condition='lowest', set color. When condition='highest', set color. etc.

    ** Was this post helpful? Click Agree or Like below. **
    ** Did this solve your problem? Accept it as a solution! **

Answers

  • ArborRose
    ArborRose Coach
    Answer ✓

    You could create a calculated field that identifies the lowest and highest. So when its min, the fields says lowest, and its max the field says highest, otherwise its empty. Then use color rules based on the calculated column, when condition='lowest', set color. When condition='highest', set color. etc.

    ** Was this post helpful? Click Agree or Like below. **
    ** Did this solve your problem? Accept it as a solution! **

  • You could also probably use rank to determine the condition.

    ** Was this post helpful? Click Agree or Like below. **
    ** Did this solve your problem? Accept it as a solution! **