Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I post here my model:
I wish to extract the CustomerCode corresponding to max(sum({$<Type={'P'}>} [Sales Amount]) )
Can anyone help me?
Thanks a lot!
Hi Roberta,
Here you are:
=aggr(if(max(total aggr(sum({$<Type={'P'}>} [Sales Amount]),Customer))=sum({$<Type={'P'}>} [Sales Amount]),Customer),Customer)
Regards
Karol
Hi Roberta,
Here you are:
=aggr(if(max(total aggr(sum({$<Type={'P'}>} [Sales Amount]),Customer))=sum({$<Type={'P'}>} [Sales Amount]),Customer),Customer)
Regards
Karol
Thanks Karol!
It works well!
Roberta