Skip to main content

Hi - I wanted to write the calculated field below to get the colour I wanted in case the colour is "#ff0000" which is a kind of bright red but keep as default 'black'.

 

IF [ERROR Flag]='ERROR' THEN "#ff0000"

ELSEIF [ERROR Flag ]='OK' THEN ""

END

 

I'm not able to get this right. Any suggestions what could I be doing wrong?

2 risposte
  1. 12 nov 2017, 10:36

    use below calculation and Edit Colour Legends as per required

     

    IF [ERROR Flag]='ERROR' THEN "RED"

    ELSEIF [ERROR Flag ]='OK' THEN "BLACK"

    END

     

    Now Edit Color Legend. Double click on RED color change the code

    use below calculation and Edit Colour Legends as per required IF [ERROR Flag]='ERROR' THEN

0/9000