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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggregate function

Hi,

I'm new to qlikview and i would like know on Aggregate function in detail.How it helpful and mostly where we can use this function?

Please help me on this in detail if anyone knows.

3 Replies
MK_QSL
MVP
MVP

Check links from enclosed file..

its_anandrjs
Champion III
Champion III

Go through with this nice documents related to aggregation

QlikView App: Aggr()

Aggr Function.docx

lironbaram
Partner - Master III
Partner - Master III

in qlikview you have the basic aggregation functions like:

sum, count , avg etc. which you normally use

what aggr function does is returning a list of values for defined  dimension

for example you have a table chart that have the field region as dimension

now you want to count for each region how many countries have reach thier sales goal

here you'll use aggr function that looks something like:

sum(aggr(if(sum(Sales)>sum(Goal),1,0),Country))

so basically the aggr function is returning 1 or 0 for each country in each region.

couple of notes:

the aggr function disregards the dimension in the chart , so you need to define best for which

combination of fields calculate the aggr function.

this function do tend to work slower then simple function so you need to use it only if you must