Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
harveenkaur
Contributor III
Contributor III

Color in pivot table

Hi

I want to color the fields in pivot table as shown in sample data below.(Red indicates the area where  growth of city is less comparative to country growth and green in vice versa case. Growth has been calculated as CY/LY-1

growth.PNG

 

1 Reply
hopkinsc
Partner - Specialist III
Partner - Specialist III

Hi

You just need an IF() statement on the background colour of the expression.

IF(CY<LY-1,Red(),Green())