Calculated Field

From SmartWiki
Revision as of 13:55, 6 October 2010 by Cameron (talk | contribs)

Jump to: navigation, search

The following are examples of calculations that can be entered into the Calculated Field of the Report builder.


Sums

Add the values in column 10 and 11:

[10]+[11]
  • If the value in either column 10 or 11 is blank(null), using the above statement will result in incorrect calculations.

Sum column 10 and 11, using zero as the value if the either field is blank:

ifnull([10],0)+ifnull([11],0)