Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

COLOR CODEING NUMBER

How do you do a color code like below I know how to use?

The numbers are averaged for wait times

Color code in brackets 1 - 5 red 6-8 green 9 and over yellow

13 Replies
sunny_talwar

Remove this extra parenthesis:

Capture.PNG

Similarly remove the second parenthesis on the second row also. You don't want to end your if statement after the color.....

Not applicable
Author

I did that and still errors

both lines work but just not together.

sunny_talwar

So this isn't working?

If(Avg(ActualLeaveTime-ScheduledLeaveTime) < MakeTime(0,30), RGB(231,248,31),

If(Avg(ActualLeaveTime-ScheduledLeaveTime) < MakeTime(1), RGB(255, 0, 0)))

Not applicable
Author

I have not had time to test this one but wanted to let you know that

I appreciate your help