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

Color cue when value is greater in text field

Below is the sample field value.  I wanted to show text in Red when I find numeric value in the filed greater or equal to 50%.  I have two filesystem in one field.

 

"/var 18%, /var/hsc/log 50%" (Red)

"/var 35%, /var/hsc/log 24%"

"/var 77%, /var/hsc/log 65%" (Red)

Labels (1)
1 Solution

Accepted Solutions
brunobertels
Master
Master

Hi 

 

Yes 

if(right([YourFieldName],3)<=0.5,lightred())

View solution in original post

3 Replies
brunobertels
Master
Master

hi may be this 

 

if(right('"/var 18%, /var/hsc/log 50%"',3)<=0.5,lightred())

New_Bee77
Contributor
Contributor
Author

I should be able to use field name instead of data

Var (Field name)

"/var 18%, /var/hsc/log 50%"

"/var 35%, /var/hsc/log 24%"

"/var 77%, /var/hsc/log 65%"

brunobertels
Master
Master

Hi 

 

Yes 

if(right([YourFieldName],3)<=0.5,lightred())