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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
evansabres
Specialist
Specialist

Visual Cue for a Text Object

Is it possible to have a text object (with a numerical value) have a visual cue? For example, if the number is less than 0 be red, greater than 0 be green. I know how to do this in a chart, but wondering if it is possible in a text object?

1 Solution

Accepted Solutions
sunny_talwar

You should be able to do this...

Capture.PNG

View solution in original post

4 Replies
sunny_talwar

You should be able to do this...

Capture.PNG

evansabres
Specialist
Specialist
Author

This is my expression:

=IF(NUM(SUM(transQUANTITY),'#,###.')-num(sum(projectedSales+projCOMP),'#,###.') >0, Green(), Red())

When I try to enter your equation, I get an output of RGB(128,0,0)

evansabres
Specialist
Specialist
Author

I see where I made a mistake. This works, thank you.

sunny_talwar

What value does this give you in a text box object?

Sum(TransQUANTITY) - Sum(projectedSales + projCOMP)