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

Maximum Value Required

Dear All,

I want the maximum sales by a dealer for one year (monthly figures available). Using 'max' function in excel we can get it but in Qlikview how do I write the expression.

Rahul

1 Reply
Not applicable
Author

It could be something like this:

=max(aggr(sum({<Year={$(=max(Year))}>} Sales), Dealer))


or

=max(aggr(sum(Sales), Dealer, Year))


or

=max(aggr(sum({<Year={2010}>} Sales), Dealer))


or something else. Your condition has many interpretations