9 Replies Latest reply: Jan 12, 2017 1:55 AM by Jim Chan RSS

    Qlik Sense Bar Chart - how to use color by expression?

    Jim Chan

      Hi guys,


      I have created a bar chart, with 2 measurements. i want to use different color on these 2 measurements instead of the default color.


      1 dimension - Month


      this is my measurement 1

      count({<Type = {'B'}>}REC_ID)

      this is my measurement 2

      count({<Type = {'C'}>}REC_ID)

      So, add the color - by expression, i want the measurement 1 in green() and measurement 2 in red().

      i have failed to do so. please help guys!