Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
i want to count product which is supplied by only one supplier..
supplier product
A gear
B gear
C break
D glass
E seat
Answer : 3 because break,glass, seat is supplied by only one supplier
how to write expression ? plz
Thanks
Try in text box
=Count(Aggr(If(Count(DISTINCT supplier) = 1,supplier),product))
Regards,
Antonio
Try in text box
=Count(Aggr(If(Count(DISTINCT supplier) = 1,supplier),product))
Regards,
Antonio
As expression:
count({<product={"=count(supplier)=1"}>} supplier)
May be
=count({<product=P({<product={seat,'glass','break'}>})>}supplier)
is equivalent to
count({<product={seat,'glass','break'}>}supplier)
However the list is hardcoded.
Regards,
Antonio