Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi every one
I wrote the code below but there is an error :Nested aggregation not allowed
sum({<[cust]={"=Rank(sum({<[product.cat]={'7070'}>} [sales]))<=10"} >} sum({<[product.cat]={'7070'}>} [sales]))
what can i do
thanks in andvance
As below
sum({<
[cust]={"=Rank(sum({<[product.cat]={'7070'}>} [sales]))<=10"}
,[product.cat]={'7070'}
>} [sales])
As below
sum({<
[cust]={"=Rank(sum({<[product.cat]={'7070'}>} [sales]))<=10"}
,[product.cat]={'7070'}
>} [sales])
Thank you very much. It is ok.
may you write how could i sort it ?
If you are using [cust] as dimension then choose sort by expression and use your rank expression
=Rank(sum({<[product.cat]={'7070'}>} [sales]))
i m using [cust ] as dimension and i want to sort it descending based on the previous code.
Sorry for all this, im using qlik only few days and im confuse a litle bit.
Thanks in andvance