Jason Yu
asked on
what does this formula mean in crystal report
Hi, All:
Today when I was modifying a crystal report, i found a field is defined by the following code.
IsNull(GroupName ({cstSP_FCAdmissionsDailyR eport_rpt_ rk;1.Staff Name}))
or (Sum ({cstSP_FCAdmissionsDailyR eport_rpt_ rk;1.NewLe ad}, cstSP_FCAdmissionsDailyRep ort_rpt_rk ;1.StaffNa me}) = 0
and Sum ({cstSP_FCAdmissionsDailyR eport_rpt_ rk;1.Follo wUp}, {cstSP_FCAdmissionsDailyRe port_rpt_r k;1.StaffN ame}) = 0)
This field is used to get the sum of new leads based on each admission rep (staff name). I don't know if this formula is right or not, but the result is not correct. Could you guys help me with this? Thank you.
sum-of-new-lead-code.jpg
Today when I was modifying a crystal report, i found a field is defined by the following code.
IsNull(GroupName ({cstSP_FCAdmissionsDailyR
or (Sum ({cstSP_FCAdmissionsDailyR
and Sum ({cstSP_FCAdmissionsDailyR
This field is used to get the sum of new leads based on each admission rep (staff name). I don't know if this formula is right or not, but the result is not correct. Could you guys help me with this? Thank you.
sum-of-new-lead-code.jpg
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Lin,
If you look at the screenshot with the first post, the formula is actually used as the suppression formula for GH1. At least that's what's in the screenshot. Of course the formula could be used in other places too, but, based on the screenshot, it's not being used to calculate anything, so it's really unclear what they're really after. Which is why I asked in my first post what kind of result they were actually trying to get.
James
If you look at the screenshot with the first post, the formula is actually used as the suppression formula for GH1. At least that's what's in the screenshot. Of course the formula could be used in other places too, but, based on the screenshot, it's not being used to calculate anything, so it's really unclear what they're really after. Which is why I asked in my first post what kind of result they were actually trying to get.
James
Thanks James - I was actually trying to address the part where the author has stated "This field is used to get the sum of new leads based on each admission rep (staff name)."
I will wait for the author to make another comment and/or attach the report file.
I will wait for the author to make another comment and/or attach the report file.
ASKER
I will try to use LinInDenver's suggestion and try to calcluate the total. My confusion is why the sum function has two parameters instead of one.
like this one: Sum ({cstSP_FCAdmissionsDailyR
And it has = 0 behind it, I am quite confused.
thank you.