Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to get count of id whose sum(dollar)<15. how to write set expression for it???
for example : sum(dollar)< 15 is:
id= 4 , sum(dollar)=7
id=3, sum(dollar)=14
so these are less than 15 . so output should be 2.
Try this?
Your Dim as ID
and Expr as = Sum({<ID = {"=Sum(dollar) < 15"} >}dollar)
This will fit your requirement...
AGGR(Sum({<ID = {"=Sum(DOLLAR) < 15"} >}DOLLAR),ID)
Thanks,
Surendra.
In a text box
=count(
{$ < id={"=sum(dollar)<15"} >}
distinct id)
thanks a lot , very helpful