Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

Multiple Coloring by Expression in Scatter Plot

New to Qlik Sense here.

I'm trying to color code three dimensions in a scatter plot graph.

I've tried using the "If" statement which works great for color coding TWO dimensions, but won't work for three if I add another "If" statement.

Does anyone have any suggestions on an expression I could use to color code each dimension?

For example, I have dimension 1, 2, and 3, and want to compare then as their data points are very close together.

Thanks!

1 Solution

Accepted Solutions

Re: Multiple Coloring by Expression in Scatter Plot

What is the expression that you are using? I would thinK something like this to work:

If(Dim = 'Dim1', LightRed(),

If(Dim = 'Dim2', LightGreen(),

If(Dim = 'Dim3', Blue())))

3 Replies

Re: Multiple Coloring by Expression in Scatter Plot

What is the expression that you are using? I would thinK something like this to work:

If(Dim = 'Dim1', LightRed(),

If(Dim = 'Dim2', LightGreen(),

If(Dim = 'Dim3', Blue())))

Not applicable

Re: Multiple Coloring by Expression in Scatter Plot

Worked great!

I forgot the commas after the first IF statement.

Thanks!

Re: Multiple Coloring by Expression in Scatter Plot