Skip to main content
A newer version of this page is available. .

Measure.SummaryType Property

Gets or sets the type of summary function calculated against this Measure.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

[DefaultValue(SummaryType.Sum)]
public SummaryType SummaryType { get; set; }

Property Value

Type Default Description
SummaryType **Sum**

A SummaryType enumeration member that specifies the type of summary function calculated against this Measure.

Remarks

The Dashboard can calculate different summary functions against measure values. These functions include sum, average, minimum, maximum, standard deviation, etc.

Use the SummaryType property to specify which summary function should be calculated against the current measure.

Note

Changes to the summary type are not supported in OLAP mode.

Example

The following code snippet shows how to create a new measure with the SummaryType.Max summary type.

Measure amountMeasure = new Measure("Amount", SummaryType.Max);
See Also