Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
mhapanka
Creator
Creator

color text by expression

If I have a measure as a master item called (Country missing) and I have used this as a measure in my pivot table, how do I ensure that the if this measure is greater than 0 the text in the pivot table is red and green if not ?

1 Solution

Accepted Solutions
william_fu
Creator II
Creator II

Go to your measure in the pivot table options, and edit the text color expression to something like

If([Measure] > 0, red(), green())

View solution in original post

2 Replies
william_fu
Creator II
Creator II

Go to your measure in the pivot table options, and edit the text color expression to something like

If([Measure] > 0, red(), green())

michaelsikora
Contributor III
Contributor III

Click the plus by the dimension or expression (depending on what you want to be green). Then double click on the "Text color" and type this:

if(Measure > 0,RGB(0,128,0),

RGB(230,0,0))