Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mmortsie1
Contributor II
Contributor II

Problem with text color of Dimensions

I would like to set the font color of the pivot table if a field has a specific value. And for some reason it does not  work correctly I set the Text color to be different if the LEAD_TIME is > 0 and for some reason the Lead time 20, 24 and 25 do not change. The same is if the LEAD_TIME is XX it should be a Different color. Maybe someone has an idea as to why it does not work correctly

Qlikview.JPG.jpg

Qlikview1.JPG.jpg

11 Replies
MK_QSL
MVP
MVP

Go to visual cues and write condition there...

mmortsie1
Contributor II
Contributor II
Author

The visual cue only work for Expressions. But i want to do it for a Dimension and as you can see in my example it does work but just not correctly

veidlburkhard
Creator III
Creator III

May be the 20, 24, 25 are non numerical values, I mean text strings!?!

Not applicable

try it like this

if(LEAD_TIME > 0, LightRed(), if(LEAD_TIME = 'XX',RGB(...)))

er_mohit
Master II
Master II

Try to write conditionn using aggr function also see the attached file

Not applicable

it could be possible that you have accidental a blank there

mmortsie1
Contributor II
Contributor II
Author

No they are numeric and its not always the same numbers it changes when the data get reloaded

veidlburkhard
Creator III
Creator III

As I see in the 'In load' column there is data missing in the row 20, 24 and 25...

mmortsie1
Contributor II
Contributor II
Author

I tried it with a aggr function still it does not work correct please see the image

=aggr(if(LEAD_TIME = 'XX', RGB(255,153,0), if(LEAD_TIME > 0, LightRed(), LightBlue())),LEAD_TIME)

Qlikview2.JPG.jpg