MindFusion.Reporting for Silverlight Programmer's Guide
Median

Returns the median of the values identified by the specified field.

Syntax

 Copy Code

double Median (
    string fieldName
)

Parameters

fieldName
A string identifying the field to aggregate.

Return Value

The median of the values identified by fieldName.

Remarks

When the number of values is even, Median returns the average of the two values in the middle. For example, if the list of values is [1, 3, 9, 12], this function returns the average of 3 and 9, that is, 6.

See Also

Aggregate Functions