Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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!