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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggr

hi,

I did a formula =aggr(sum(Metric),Country, Month) and I would like display it by product.

do you know why, it's working for the first product, but I cannot repeat values for all of them?

thanks,

Eva

11 Replies
Anonymous
Not applicable
Author

Great discussion! I am facing the same problem.

When using =aggr( NODISTINCT sum(Metric),Dim1, Dim2) how to display the total in a straight table?

When using Expression Total it will give us the sum of the nodistinct what is wrong.

So how can it be achieved to get the aggregation values repeated (nodistinct) inside the table, and a (distinct) total sum above?

saray_JD
Contributor II
Contributor II

Hi

you can use Total <Group by Fields> in sum function instead of Aggr too.

like this :

=SUM(Total<Country,Month> Metric)

Have good Day

Saray