Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Weighted Average Calculations

edited November 2003 in General
Hi
Is there a function to calculate the weighted average of two fields in a
report like using the sum function om a group footer?

I do not want to write code to calculate this value because I use one report
component end load all reports from file, all the reports do not have this
requirement.

Edward Potgieter

Comments

  • edited November 2003
    Hi Edward,

    Sorry, the DBCalc component will only calculate the Sum, Minimum, Maximum,
    and Average of a data field. A weighted average will have to be custom
    coded perhaps using a TppVariable and the OnCalc event.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.