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

QS How to create Visual Cues when value is higher it color black group color Dark Blue and lower value with Light Blue ?

Hi All

I need to PE and EPS and Current Ratio automatic give the coloring.

For example if user select APPLE and Google.

Make those higher value items row with Dark Blue and those with lower value Light Blue , so user can see the different , and know google stock is better then apple.

Paul


13 Replies
shraddha_g
Partner - Master III
Partner - Master III

Remove '=' sign from inside Aggr()

if( $(vEPS) = max(aggr($(vEPS),COMPETITOR_k)) , rgb() ,

          if($(vEPS) = min(aggr($(vEPS),COMPETITOR_k)) , rgb() , white())

paulyeo11
Master
Master
Author

Hi Shraddha

I think still have some error on the expression , as it still display blank.

Paul

shraddha_g
Partner - Master III
Partner - Master III

Have you checked what are the values for   max(aggr($(vEPS),COMPETITOR_k)) and  min(aggr($(vEPS),COMPETITOR_k))

paulyeo11
Master
Master
Author

Hi Shraddha

For below expression :-

min(aggr($(vEPS),COMPETITOR_k))

it also return null value.

Paul