G
Guest
Hello,
I am having trouble getting a Grand Total in the footer of my report to
calculate correctly.
I tried a Dsum expression but it was verrrryyyy sloooowww! It looked like
this (one for each Group):
=DSum(" [ORDER_TOTAL]
","SalesJournal_UnionInfo","[ACTIVITYGROUP]='OPENORDER'")
=DSum(" [ORDER_TOTAL] ","SalesJournal_UnionInfo","[ACTIVITYGROUP]='INVOICED'")
I believe it was working correctly but way too slow. So I'm looking for
alternatives.
My report is based off of the query SalesJournal_UnionInfo. First the
records on the report are grouped by SALESREP, then grouped by ACTIVITYGROUP
which is either "INVOICED" or "OPENORDER". In the ACTIVITYGROUP footer I have
the [ORDER_TOTAL] field set to =Sum(ORDER_TOTAL]) not as a running sum and
it's name is SUBTOTAL_CALC. This gives me the SUBTOTAL calculation per each
activity per each SALESREP.
How do I get the separate GRAND TOTALS of each ACTIVITY SUBTOTAL into the
Report Footer? (without using DSum?!)
Thanks very much for your help!
I am having trouble getting a Grand Total in the footer of my report to
calculate correctly.
I tried a Dsum expression but it was verrrryyyy sloooowww! It looked like
this (one for each Group):
=DSum(" [ORDER_TOTAL]
","SalesJournal_UnionInfo","[ACTIVITYGROUP]='OPENORDER'")
=DSum(" [ORDER_TOTAL] ","SalesJournal_UnionInfo","[ACTIVITYGROUP]='INVOICED'")
I believe it was working correctly but way too slow. So I'm looking for
alternatives.
My report is based off of the query SalesJournal_UnionInfo. First the
records on the report are grouped by SALESREP, then grouped by ACTIVITYGROUP
which is either "INVOICED" or "OPENORDER". In the ACTIVITYGROUP footer I have
the [ORDER_TOTAL] field set to =Sum(ORDER_TOTAL]) not as a running sum and
it's name is SUBTOTAL_CALC. This gives me the SUBTOTAL calculation per each
activity per each SALESREP.
How do I get the separate GRAND TOTALS of each ACTIVITY SUBTOTAL into the
Report Footer? (without using DSum?!)
Thanks very much for your help!