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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text box color expression not updating

I have a text box that uses an expression to calculate its color. See attached example.

The expression checks a variable:

  • if it is true then the text box should be green
  • If it is false then the text box should be red

However, the color is not changing when the value of the variable changes. Can soomeone please show me what I am doing wrong? This looks like a bug to me... hopefully someone knows a work-around?

1 Solution

Accepted Solutions
mphekin12
Specialist
Specialist

Try changing your expression to:

     if(vTrueFalse='False', RGB(255,0,0), RGB(0,255,0))

I hope that helps!

View solution in original post

2 Replies
mphekin12
Specialist
Specialist

Try changing your expression to:

     if(vTrueFalse='False', RGB(255,0,0), RGB(0,255,0))

I hope that helps!

Not applicable
Author

Perfect! Thanks for your help!