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: 
Not applicable

Visual cue query

Greetings all,

I have a chart where I wish to display conditional formatting based on another % field but with three options:

If  the total displayed in this field is greater than...sum({<Link_Date = {'40853'} >} SATS)/100.....display green

If it equals the same....display amber

If less than...display red

I normally use the Expression text colour for true/false but this obviously has a third option.

I have tried using the Visual cues and variations on the following

>= (sum({<Link_Date = {'40853'} >} SATS)/100)+1...

normal: sum({<Link_Date = {'40853'} >} SATS)/100...

<=  (sum({<Link_Date = {'40853'} >} SATS)/100)-1....

This is probably an easy fix but I cannot see it at the moment...

Thanks for any help

1 Solution

Accepted Solutions
deepakk
Partner - Specialist III
Partner - Specialist III

Yes. Its possible.

Try thos out.

if(sum({< Link_Date = {'40944'} >}SATS)>sum({< Link_Date = {'40853'} >}SATS),lightgreen(),

If(sum({< Link_Date = {'40944'} >}SATS) =sum({< Link_Date = {'40853'} >}SATS), amber(),

lightred()))

Deepak

View solution in original post

3 Replies
Not applicable
Author

Any ideas anyone?

In the meantime, I have used an Text Colour Expression

if(sum({< Link_Date = {'40944'} >}SATS)>sum({< Link_Date = {'40853'} >}SATS),lightgreen(),lightred())

but this will obviously highlight red where the total is the same on both days and I would like amber.

Is it possible to have more than 1 true/false statement on a Text Colour Expression?

deepakk
Partner - Specialist III
Partner - Specialist III

Yes. Its possible.

Try thos out.

if(sum({< Link_Date = {'40944'} >}SATS)>sum({< Link_Date = {'40853'} >}SATS),lightgreen(),

If(sum({< Link_Date = {'40944'} >}SATS) =sum({< Link_Date = {'40853'} >}SATS), amber(),

lightred()))

Deepak

Not applicable
Author

Yes, that is a great help Deepak, thank you.