Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

visual cue for a text value

I have a text field of either Y or N.  My idea is when the value is Y the field would show up as a GREEN Y and when the value is N the field would show up as a RED N.

I have used visual cues for numeric values but it does not work for text.  Any assistance would be appreciated!

1 Solution

Accepted Solutions
awhitfield
Partner - Champion
Partner - Champion

Hi John,

you can use the Expression Background Color, eg.

HTH

Andy

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Maybe this Workaround is an option

define a variable vText and make use of Input Box

then you may define your TextBox with this variable

you may define in tab Font, the colour to calculated colour like if (vText='Y',rgb(0,255,0),rgb(255,0,0)

jpenuliar
Partner - Specialist III
Partner - Specialist III

Hi John,

Have you tried looking at Expresssion attribute > 'Text Color' ?

Fine Tuning Your Objects - Dimension & Expression Attributes - Living Qlik

awhitfield
Partner - Champion
Partner - Champion

Hi John,

you can use the Expression Background Color, eg.

HTH

Andy

Not applicable
Author

Thank you for all of the quick replies!  Problem solved....

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Is this value displayed in a cell of a Straight Table? Or is it just the content of a Text Box? Whatever value you are showing can be evaluated in an expression to dynmically adjust the cell/text box background/text color.

Peter

Anonymous
Not applicable
Author

My Workaround is for textobject

if you have textfield you may use the Solutions of Jonathan or andrew