12 Replies Latest reply: Oct 24, 2017 3:51 AM by omar bensalem RSS

    Expression for custom color for measures

    Venkat Sateesh

      I am new to Qliksense, I created one Stacked Bar chart in the Qlik sense. I got requirement to use custom colors on measure. can you help me in the expression logic to get the color. Below is the expression I tried but by default it is considering else statement color.

       

      If (Value = 'Yes',Green(),Red())

       

      I have measure value with Yes and No values. I am displaying Count of Yes and No in the bar chart. I need color expression for this.

       

      Thanks in advance.

       

      Regards,

      Sateesh