Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

most sales part by aggr

hi all,

i want to get the most 3 part in all time and to have a pivot or line chart of each by month.

i used this expression:



sum

where do i wrong?

thnaks,

doron

(if (aggr(sum(quant),part) >= aggr( max(aggr(sum(quant),part),5),part ) , quant ))



2 Replies
fernandotoledo
Partner - Specialist
Partner - Specialist

use this expression as a calculated dimensin, check "Supress values when null"


=if(aggr(rank(sum(quant)),month,part)<=3,part)


this can be used either in pivot or other charts

good look

fernando

fernandotoledo
Partner - Specialist
Partner - Specialist

use this expression as a calculated dimensin, check "Supress values when null"


=if(aggr(rank(sum(quant)),month,part)<=3,part)


this can be used either in pivot or other charts

good look

fernando