Link to home
Start Free TrialLog in
Avatar of ASPDEV
ASPDEV

asked on

SubTotal in Group footer section Crystal Reports

Hello Experts,

I have a crystal report 11i in VS2005 IDE.Where I'm grouping a report on Dept.,created  two formula fields , which does cost and tax.

I need total of this @Cost + @tax formula fields in @SubTotal.
 @SubTotal = @Cost + @tax

And also need to reset the values once the group is done.I get @cost & @tax values from running Total variables.But I'm stuck at @Subtotal and GrandTotal.

Once I get SubTotal ,finally  I need to do GrandTotal(Which is Subtotals of all the Dept groups).
Avatar of ASPDEV
ASPDEV

ASKER

Experts,

I can able to get @Subtotal, solution is simple. In formula field.
 SUM({Test.Cost},{Test.Dept}) + SUM({Test.TAX},{Test.Dept})


Now, I need  @GrandTotal
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ASPDEV

ASKER

Thanks.