Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
NEW webinar Dec. 7th: 2023 Outlook, A Pivotal Year for Data Integration SIGN ME UP!
cancel
Showing results for 
Search instead for 
Did you mean: 
bijoylalu
Creator
Creator

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
Creator
Creator
Author

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.

View solution in original post

1 Reply
bijoylalu
Creator
Creator
Author

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.