Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
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
sunny_talwar

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
sunny_talwar

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
Author

Worked great!

I forgot the commas after the first IF statement.

Thanks!

sunny_talwar