Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ZoeM
Specialist
Specialist

2 color gradients in pivot chart

Hi Community,

I am having trouble with formatting the background of cells for a pivot chart. I would like to utilize the two color gradient coloring and set a condition so that based on the item, the cell background changes accordingly.

Please view the attached dashboard. 

I have three different color scales I would like to institute and I do not know how to do the gradient version. 

Any help rendered will be truly appreciated. 

Labels (1)
2 Replies
PabloTrevisan
Partner - Creator II
Partner - Creator II

Hi. Try this expression color:

 

ColorMix1( rank(total column(1))/noofrows(TOTAL) , rgb(0,0,205), rgb(250,128,114))

ZoeM
Specialist
Specialist
Author

Sorry for the late response Pablo.

I tried using your expression and I could not get it to work in the sample