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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggr function problem

Hi,

i have problem with aggr function. I used this function to aggregate Volume per Customer and his products.

sum(aggr(

sum([Volume AY])

/sum({<[Product Group]=>}(aggr(sum(([Volume AY])),Customer)))

,Customer,[Product Group]))

It works, but it takes (aggr) only one value (one product). Other values show as zero.

Where is the mistake? Why takes only one value?

Thanks for advice.

T.

Labels (1)
1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Why can't you use Product and Customer as dimensions and sum([Value AY]) as expression?

What's the purpose of this nest of nested sums?


talk is cheap, supply exceeds demand