Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

kk1
New Contributor

Color Line Chart by Segmented Colors in Master Measures

I have created 4 master measures, each defined with segmented colors with the same range and colors. I want to place all 4 of them on a line chart and color each line independently by this range.

i.e. for any given line value, if it's above .9 I want the line to be green, if its below .7 I want it to be red, and if its in between these values I want it to be yellow. 

I assume color by measure is out of the question because this will change every line to the colors of one - as shown below. I 

I know how to apply the segmented colors using if() expressions, so my question is how to independently color multiple lines by expression in the same chart.

Screen Shot 2019-06-24 at 11.26.14 AM.png