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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
sidjustice
Contributor II
Contributor II

Pivot Table Highlight Max Column

Hi I have some sample data that needs to be shown in a pivot table. Now I need to highlight the column (say background color) which has the highest revenue when the Mode column in collapsed. Like so

MakeModeRegionCentralEastWest
HondaNom124661283111653
Sub111261143310534
Tur142591488013155
vs927886568987

So I far I have been trying with the Max, but not able to get it to work

Max ( aggr (NODISTINCT sum(Revenue) , Make, Mode, Region))

Attached qlikview document with inline data

Appreciate any help, Cheers

Sid

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this

=If(Revenue = Max(TOTAL <Make, Mode>Aggr(Sum(Revenue), Make, Mode, Region)), Red())

Capture.PNG

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

Try this

=If(Revenue = Max(TOTAL <Make, Mode>Aggr(Sum(Revenue), Make, Mode, Region)), Red())

Capture.PNG

sidjustice
Contributor II
Contributor II
Author

Sweet, thanks for the quick reply