Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
gsanthoshkumar
Partner - Contributor

Using Colormix1 for rows in Pivot Table

Hi guys,

The below expression colors by each column

ColorMix1(rank(total column(1))/noofrows(TOTAL), Green(), Red())

What will be expression, if I want to colormix across rows?

 

Thanks

Sam

2 Replies
Brett_Bleess
Former Employee

Here is a Design Blog post that may be of some help, but not exactly sure of what you are really trying to accomplish, so a screenshot of what you want may be helpful for others to offer further advice on how to go about things on this one:

https://community.qlik.com/t5/Qlik-Design-Blog/Colors-in-charts/ba-p/1475280

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
gsanthoshkumar
Partner - Contributor
Author

Thank you Brett. 

I have data from 0.01% to 60% and I would like to use color gradient for the entire pivot table (attached). If I use colormix1 function, the colors are almost same as in the attachment.

Color Expression:

colormix1(Sum({$<site= , line =,  name ={'used'}>} value)
/ Sum({$<site= , line =,  name ={'manu'}>} value)  , green(), red())