Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

why does this RGB function not work?

double post

Labels (1)
1 Reply
Miguel_Angel_Baeyens
Support
Support


Amien wrote:When i select only the NodeActive=J in a listbox .. then i only see the first color. But with no selection i see only the second color.


That's correct, because when no selections are done, NodeActive=N is false. Check as well current selection in the conditional, something like

if(NodeActive='N' AND GetFieldSelections(NodeActive) >= 1, RGB(10, 10, 10), RGB(70, 130, 180))


Change that depending on which colour do you want to see by default.