Hi Qlikers,
I want to create 80/20 split pie chart for sales.
In the dimension i am using - ValueList(80, 20)
In the measure i am using -
Pick(
ValueList(80, 20),
count(Aggr(If(Rangesum(Above(Sum([Sales)/Sum(TOTAL [Sales]),0,RowNo()))<0.8,[Region]),([Region],(=Sum([Sales]),Desc))))
,count(Aggr(If(Rangesum(Above(Sum([Sales])/Sum(TOTAL [Sales]),0,RowNo()))>0.8,[Region]),([Region],(=Sum([Sales]),Desc))))
)
Now, the problem is that it shows the correct value for 80 but it doesn't show any value for 20. How do i tweak the expression to get the the result for 20 as well?
Any help would be greatly appreciated.
Thank you!