Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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