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

Used of Aggr() Function

Hi,

I have a question about AGGR function,

I don't really know what happen when I'm using this function, i have read that aggr will create virtual/temporary table. but still dont understand what the system do when aggr function execute.

aggr(expression, dimensions)

I also confuse about the dimension in aggr function, are every dimension in my application must be define in dimension section ?

Really need your help.

Thanks

2 Replies
Gysbert_Wassenaar

Have you read this document already? QlikView Technical Brief - AGGR.docx

In the aggr function the dimensions have to be field names that are loaded/created in the load script. You can't use calculated dimensions (which can only exist in charts, but don't exist in expressions) or expressisons (with one exception).


talk is cheap, supply exceeds demand
jafari_ervin
Creator III
Creator III

The aggr function calculated your expression with respect of dimension or dimensions you define, if you are familiar with sql, aggr function do the same job like group by in sql.

I also confuse about the dimension in aggr function, are every dimension in my application must be define in dimension section ?

You can do this but is not necessary.