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

Comparing values between 2 columns in table for color expression

I have a table with the years as columns and the client name as rows. I now want that the text color is green when the sales are higher than previous year and red when they are lower.

There is also a totals column which I want to remain black.

Someone who have done this before?

Thanks in advance

3 Replies
sunny_talwar

You seem to be doing this in a pivot table, right? You can use Before/After function to compare one year to another year. Take a look here:

Missing Manual - Before() and After()

Not applicable
Author

Thanks, it worked!

Do you have an idea how i can exclude the totals this color function?

sunny_talwar

You can use Dimensionality() function to exclude the above color calculation for totals

How to use - Dimensionality()

The second dimension... or how to use secondarydimensionality()