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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
priscilarubim
Partner - Creator III
Partner - Creator III

Conditional title color in Straight Table

Hi everyone,

I'm working on a straight table and I'd like to change the title text color conditionally based on a measure result:

  • If the measure = 0 → title displayed in green
  • If the measure > 0 → title displayed in red

I couldn't find a native way to do this directly in the properties panel?

Thanks in advance! 🙂

Labels (1)
1 Solution

Accepted Solutions
priscilarubim
Partner - Creator III
Partner - Creator III
Author

The solution I came up with was using icons.

=If(
Count({<[Measure]={">0"}>} [Measure]) > 0,
'🔴Fail',
'🟢Ok'
)

View solution in original post

3 Replies
mikaelsc
Specialist
Specialist

doesn't seem to be possible at this time (may 2026) 

if it's really a must have: 

duplicate the table; set color green to table 1, color red to table 2

add them both to a tabbed container, and conditionnaly make one or the other visible depending on measure result. 

priscilarubim
Partner - Creator III
Partner - Creator III
Author

I think it's a great idea, but with 30 tables it becomes impractical. Thank you for your reply 🙂

priscilarubim
Partner - Creator III
Partner - Creator III
Author

The solution I came up with was using icons.

=If(
Count({<[Measure]={">0"}>} [Measure]) > 0,
'🔴Fail',
'🟢Ok'
)