Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

1 Solution

Accepted Solutions
sunny_talwar

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

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