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: 
Not applicable

Max Value

Hi all,

I wanted to find a way to calculate the maximum sales value by Category Name i.e. Baby Clothes, Men's clothes. The idea is to see which category sells the most. How can I achieve this?

Capture.JPG.jpg

6 Replies
MK_QSL
MVP
MVP

Max(TOTAL <CategoryName> Aggr(SUM(LineSalesAmount),CategoryName))

Not applicable
Author

Thanks.

Assuming I have the following scenario:

Capture.JPG.jpg

Column 1 and Column 2 are expressions. I wanted to show only the max value for Column 1 and max value for Column 2

Not applicable
Author

try

firstsortedvalue(empname,-coloumn1)   for max value

jyothish8807
Master II
Master II

Hi Sabah,

What do you mean by max value for Column 1 and 2?

Column1=-58007

Column2=-30264

Am i right?

Regards

KC

Best Regards,
KC
Not applicable
Author

By max, I mean the max negative number. I.e Column 1 max value is -443009 and max value is -119994

Not applicable
Author

firstsortedvalue(empname,coloumn1)   for max value

firstsortedvalue(empname,coloumn2)   for max value

write 2 separate expressions like above u will get