13 Replies Latest reply: Jan 31, 2018 9:00 AM by Vasiliy Beshentsev 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.