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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

why does this RGB function not work?

double post

1 Reply
Miguel_Angel_Baeyens


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.