Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
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!
 sunny_talwar
		
			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())))
 sunny_talwar
		
			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())))
 
					
				
		
Worked great!
I forgot the commas after the first IF statement.
Thanks!
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
