Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

color code expressions

Hello everyone,

I am building an app in QlikSense where I need to use maps. I tryed coloring by rank and it worked perfectly good in the desktop-version  of QLIK Sense. Now I have moved my app to QLIK Sense Server, suddely all dots on the map turned out to be gray. Seems like the color code is being completely ignored. I wonder what is going on, have I done something wrong?

Here is the color code, just in case:

if(($(Delta Pü) >= $(range)) and (sum(A_Halt)> $(GrenzeHalte) and sum(B_Halt)> $(GrenzeHalte)),

  LightGreen(),

if($(Delta Pü) < (-$(range)) and (sum(A_Halt)> $(GrenzeHalte) and sum(B_Halt)> $(GrenzeHalte)),

  LightRed(),

if((sum(A_Halt)> $(GrenzeHalte) and sum(B_Halt)> $(GrenzeHalte)),

  argb(40,130,130,130),

  argb(0,130,130,130)

)))


Thank you for your help!

1 Reply
Patric_Nordstrom
Employee
Employee

‌Hi Anders,

That seems odd, should work. I would make a table with the same dimensions and expressions and verify that everything evaluates correctly.

Thanks,

Patric Nordström

Qlik