Function fields in reports

You add function fields to perform calculations in a report. That also means that in configuring a report, you are not limited to the fields in the data collection.

You can use function fields in the Detail section of the report. Applications of function fields:

  • Perform calculations, for example Margin = Price - Costs.
  • Merge fields, so they are presented as one field.
  • Apply a script, for example to perform calculations based on certain criteria.
  • Apply formatting to fields under certain conditions.

This section covers frequently occurring issues related to function fields. Please refer to the Microsoft VB Script Reference for more information.

Procedure