Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
we want count of sales unit code whose sum(Amount)>=1000000
count(distinct aggr( if(sum(AMOUNT)>=1000000
),SalesUnitCode))
it's show zero
please help urgent basic
use numcount
where we use numcount
please tell me the result what it should come for ur expression
expersion worng
Try this
calculate the sum of Amount at the backend i.e script
load sum(Amount) as xyz
resident TableName
group by code;
then count(if(xyz>1000,code))
Hi
Test with
=sum( aggr( if(sum(AMOUNT)>=1000000 , 1 , 0) , SalesUnitCode))
regards
jj