Set KPI color based on previous line item using Axis.Color

I want a KPI's color to change based on whether or not it's current value (most recent line item) is greater or smaller than the previous one. i tried using the Last([Axis.Color]) function but my colors are not showing up correctly. Should I use the Previous function or something?

(2) Answers