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

Pivot cell text color

SourceTeamBDate2017-12-282018-01-042018-01-11TotalYearly Target
Client1Team1 5101010151030306000
Client1Team2 260110160530200
Client2Team1 510010100151003030040450
Client2Team2 6001100160033003000

I have the above Pivot data.

Can we have the color textcolor as Red of number of "2017-12-28" if the number is greater than the number of "2018-01-11" else text color should be green.

Also, can we have the textcolor as Yellow of "Total" if the number is greater than "Yearly Target" else text color should be Blue.

6 Replies
andrey_krylov
Specialist
Specialist

Hi Amar. Yes, you can customize the textcolor (Background Color, Text Format, etc.) of your pivot cells. Open Chart properties -> Expressions  or Dimensions

To assign a color use RGB() function or predefined Red(), Blue(), Green() etc. As for "Total" it can be

If([Total] > [Yearly Target], Yellow(), Blue()). In this example  [Total] and  [Yearly Target] are column names and can be replaced by expressions

If(Sum(Total) > Sum([Yearly Target]), Yellow(), Blue())

ChennaiahNallani
Creator III
Creator III

use visual cues in properties. see below

Capture.PNG

Anil_Babu_Samineni

This can be, will you able to share sample?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

This can be done.

I want to get for the below conditions:

Can we have the color textcolor as Red of number of "2017-12-28" if the number is greater than the number of "2018-01-11" else text color should be green.

Also, can we have the textcolor as Yellow of "Total" if the number is greater than "Yearly Target" else text color should be Blue.

How to get the values of cell "2017-12-28" to be compared with the values of  "2018-01-11" ?

manoj217
Creator III
Creator III

by using visual cues you can change the background color, font, font style just you can write the expression in upper, lower boxes. these will reflect into the data

Anonymous
Not applicable
Author

Thanks fro your reply.

How to get the values of cell "2017-12-28" to be compared with the values of  "2018-01-11" ?