Views:

Description

Returns the average value of the 'fieldname' for the records specified by the fetch-xml.

e.g Returns the value of the average estimatedvalue of all opportunities for a customer.

Signature

FindAvgFD('formuladetailname', 'fieldname', 'defaultvalue')

Example

FindAvgFD('OpenOpportunities', 'estimatedrevenue', '0', false, SetParams('param1', 'param2'))

Parameters

NameTypeDescriptionRequired
formuladetailnamexxxxxxxxxxxx
fieldnamexxxxxxxxxxxx
defaultvaluexxxxxxxxxxxx

Notes: