Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I like to sum a total amount based on 2 criterias, ID and LOS. Ex: If a record has an ID of I and a LOS >= 1 then sum the total.
How can I code this?
Thanks.
Set Analysis will do
Sum({$<ID = {'I'}, LOS = {">=1"}>} Amount)
Mike.
Hi Mike,
Thanks for the info but it does not work. The sum is a lot bigger then what it should be.
LOS is a column with value range from blank to 1 to 55. Thus, the LOS >= 1. I wanted to get a sum in which LOS has value.
Thanks.
Maybe the Blank Value gets evaluated as being >=1. So, use this instead:
Sum({$<ID = {'I'}, LOS = {">=1<=55"}>} Amount)