Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Highlighted
bijoylalu
Contributor

Color by expression for two different measures in a Combo Chart

Hi,

        I have a combo Chart, with two measures and one dimension.

          Property0101.JPG

        Currently I am using the multicolor option in my visualization, which is there by default (In Property -> Appearance -> Color and Legends).

             Property02.JPG

     And by default my visualization looks as shown below .('Blue' for actual and 'Magenta' for Budget - as how legend showing)

                 Graph1.JPG

                            I need to specify user-defined colors for each measure('Orange' for Actual and 'Blue' for Budget), similar as shown below.

                        Graph2.JPG

           I have seen an option in Colors and legend, Custom color, By expression.

           Please suggest me the expression to achieve my requirement.

1 Solution

Accepted Solutions
bijoylalu
Contributor

Re: Color by expression for two different measures in a Combo Chart

Hi.

     As this capability is not available in line chart, i did an alternative to meet my requirement.

    I did the color code change in the theme files(theme.json) and its working fine.

1 Reply
bijoylalu
Contributor

Re: Color by expression for two different measures in a Combo Chart

Hi.

     As this capability is not available in line chart, i did an alternative to meet my requirement.

    I did the color code change in the theme files(theme.json) and its working fine.