Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi to all, I need to sum aggregate and count only if the data satisfied a kind of conditions..I tried all the combinations but the sintax is not correct....
sum(if(Type_doc='BL', aggr(count(distinct SC)),Store,Month, Day))
any ideas ?
thxAndrea
Hi Found the right sintax
=sum( aggr( count(distinct if(Type_doc='BL', SC)),Store,Month, Day))
Bye
Andrea