I work for an international tradeshow mgmt company that sells booth space and sponsorships. I am creating our comprehensive status report that shows all sales, by event# (using a parameter), grouped in the following ways:
Group 1: Order Type (Exhibit Space, Sponsorship)
Group 2: Order Status (Signed Contract, Unsigned Contract, Reserved, Complimentary)
Group 3: Office Name (We have 8 offices around the world)
The summarized fields are:
-- @contract_value (order_total - order_tax)
-- order_total
-- payments
Each group has a summary and then they are grand-totaled at the end. When I run this report, including all Order Statuses, the results are perfect.
I have a second version of this report that excludes Reserved and Complimentary statuses using a Group Selection Formula. (I'm not sure if I did the Group Select Formula correctly. I used the Expert, but, it doesn't let me specify which group I am referring to? Not sure how that works, might be my problem).
Anyway, the totals for the groups work fine, but, the grand total at the bottom is including the excluded statuses.
I've read about Running Totals and I've tried using that, but, I must be doing something wrong. . .
In case it matters, the Contract_Status table is Left Outer Joined to the Order table. I am working with an off-the-shelf database that has 507 tables, so, I can't control the structure.
Any ideas? Thank you in advance!!
Group 1: Order Type (Exhibit Space, Sponsorship)
Group 2: Order Status (Signed Contract, Unsigned Contract, Reserved, Complimentary)
Group 3: Office Name (We have 8 offices around the world)
The summarized fields are:
-- @contract_value (order_total - order_tax)
-- order_total
-- payments
Each group has a summary and then they are grand-totaled at the end. When I run this report, including all Order Statuses, the results are perfect.
I have a second version of this report that excludes Reserved and Complimentary statuses using a Group Selection Formula. (I'm not sure if I did the Group Select Formula correctly. I used the Expert, but, it doesn't let me specify which group I am referring to? Not sure how that works, might be my problem).
Anyway, the totals for the groups work fine, but, the grand total at the bottom is including the excluded statuses.
I've read about Running Totals and I've tried using that, but, I must be doing something wrong. . .
In case it matters, the Contract_Status table is Left Outer Joined to the Order table. I am working with an off-the-shelf database that has 507 tables, so, I can't control the structure.
Any ideas? Thank you in advance!!