Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Highlight highest column

Hi,

I have the attached document, I want to highlight in red the cell which has the highest value for each of the columns "Order Price" and "Products"

Thanks

1 Solution

Accepted Solutions
julian_ortiz
Partner - Contributor III
Partner - Contributor III

Hi Ivan.

Something like this? Using Rank()

Check the property BackGround Colorsolucion.png

Regards

View solution in original post

5 Replies
julian_ortiz
Partner - Contributor III
Partner - Contributor III

Hi Ivan.

Something like this? Using Rank()

Check the property BackGround Colorsolucion.png

Regards

maxgro
MVP
MVP

if(sum(OrderPrice)=max(total aggr(sum(OrderPrice),MonthYear)),rgb(255,0,0))

if(count (distinct productId)=max(total aggr(count (distinct productId),MonthYear)),rgb(255,0,0))

1.png

Not applicable

Hi Ivan,

Go to properties-> visual cues -> and set the background color as red and define a formula for upper limit or lower limit as per your requirements. I have implemented the requirement you asked for in the following attachment as example. Hope this helps.

Regards,

Sonya

MarcoWedel

Hi,

other versions of the background color expressions:

Pick(Rank(Sum(OrderPrice)), LightRed())

Pick(Rank(Count(Distinct productId)), LightRed())

QlikCommunity_Thread_136208_Pic1.JPG.jpg

hope this helps

regards

Marco

MarcoWedel

or maybe even shorter:

Pick(Rank([Order Price]), LightRed())

Pick(Rank([# Products]), LightRed())

QlikCommunity_Thread_136208_Pic1.JPG.jpg

hope this helps

regards

Marco