Forum Discussion

HamidBee's avatar
HamidBee
Power Participant
4 years ago
Solved

How do I create a conditional colour rule in Charticulator?

Hi Everyone,   I am trying to create a conditional colour rule in Charticulator that says if the value is greater than zero 'green' and if it is less than zero, 'red'. I think I the only way to do ...
  • Burningsuit's avatar
    Burningsuit
    4 years ago

    Hi HamidBee 

    I may be over-simplifying this, but I'd have a measure like...

    colour = IF(["your measure"] > 0, "P", "N")

     That'll create a measure that's based on "your measure" which will be "P" of your measure is positive, or "N" if negative. Use that exactly like Ruth did in her video and you should be good.

    Stuart