Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
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())))

View solution in original post

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())))

View solution in original post

Not applicable

Re: Multiple Coloring by Expression in Scatter Plot

Worked great!

I forgot the commas after the first IF statement.

Thanks!

Highlighted

Re: Multiple Coloring by Expression in Scatter Plot