All docs
V20.2
21.1 (EAP/Beta)
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CrossTabDataField.SummaryType Property

Specifies the summary function to calculate against a field.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

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

Property Value

Type Default Description
SummaryType

Sum

The summary function.

Remarks

The Cross Tab summarizes values of data fields and displays the results at the intersection of the corresponding row and column.

Use the SummaryType property to change the type of the summary function. To access this property at design time, select a cell bound to the corresponding data field and click its smart tag. Alternatively, you can set this property in the Properties window.

The cell’s TextFormatString property allows you to format data accordingly.

NOTE

If a data field contains non-numeric values, you can only calculate the Count, Min and Max functions. Otherwise, zeros are displayed in the Cross Tab cells.

Use the SummaryDisplayType property to display results not “as is”, but in correlation with other cells (for instance, the percentage of grand total values).

See Also