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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II

Color Expression

Hello:

I've this color expression = IF (Sum(Visits) > 200000, Blue(), Green()) and it works fine.

Now I need to change it by another one thar prints in blue the top five values and in green other values which conpletes the list.

Thank you

1 Solution

Accepted Solutions
Not applicable

Hi,

use something like this

= if(Rank(Total Sum(Visits))<=5,Blue(),Green())

View solution in original post

2 Replies
Not applicable

Hi,

use something like this

= if(Rank(Total Sum(Visits))<=5,Blue(),Green())

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II
Author

Thank you Vivek.

This is the solution