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

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