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

Aggr()

Hi all ,can any one explain why we use Aggr() function ,with some simple exp,

3 Replies
Anonymous
Not applicable
Author

Let me try to make it simple...
Say, you have a numeric field Amount, and you have field Year.  Need to find a maximum amount among the years.  It can be done using aggr():
max(aggr(sum(Amount),Year))

That is, you aggregate sum(Amount) by Year, and find max after that.

And, read "help"

its_anandrjs

maxgro
MVP
MVP

if you try to search in the community you find many interesting info and docs about aggr

QlikView Technical Brief - AGGR

QlikView App: Aggr()

or in online help, search aggr and go to nested aggregation