Link to home
Start Free TrialLog in
Avatar of cmdolcet
cmdolcetFlag for United States of America

asked on

Running Total Calculations

How can I create a running Total on my Report footer for the following calculation:

EvaluateAfter({@Total Group Scrap Time});
numberVar dur;
(dur * 41.58 / 3600) +({@Total Quantity of Scrap}*{PartMaster.MaterialCost})


Avatar of Mike McCracken
Mike McCracken

A running total by definition works on each record.  A formula in the report footer is only executed once so there is nothing to add up.

What is it you are trying to do?

mlmcc

I think you basically want to produce a total of the result of that formula.  Do you actually want a running total, or just a grand total?  "Running total" sort of implies that you want to see the total as it's accumulated (every time something is added to it).  But all that you would normally see in the "report footer" would be the grand total.

 Which is basically my long-winded way of asking the same question as mlmcc.  :-)

 The answer is probably going to be to accumulate the total in a variable, which you could do in that same formula, but exactly how you handle it will depend on which type of total you want.

 James
Avatar of cmdolcet

ASKER

All I would like is the total
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