Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Highlighting Max and Min Values

Hi

I am trying to highlight the max and min percentage, using a straight table with expressions individually for all months works,

but I want to use one expression keeping month has my Dimension and want to highlight the max and min percentage

I have attached a qvw file for the reference, with table 1 and table 2

I need the second table to be same as first one

I am not sure what I am doing wrong

Please help

Regards

Arjun

1 Reply
Not applicable
Author

You will have to aggregate the value in load script as a new field.

For example

LOAD

     Product,

     sum(Sales) as salessum

    Resident Table

group by Product

;

Then in the condition you need to give if(sum(Sales)=max(salessum),red(),green())