Skip to main content

PivotGridFieldBase.GetSummaryInterval() Method

Returns information about the distribution of summary values that have been calculated against this field and belong to the lowest detail level.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v23.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public PivotSummaryInterval GetSummaryInterval()

Returns

Type Description
PivotSummaryInterval

A PivotSummaryInterval object that contains information about the distribution of last-level summary values calculated against this field.

Remarks

Use information returned by the GetSummaryInterval method when filtering pivot grid data by summaries to specify a range of values to be displayed.

The returned PivotSummaryInterval object exposes the minimum and maximum summary values, and information about the distribution of summary values across this range.

PivotSummaryInterval.StartValue

Gets the minimum value in the current range.

PivotSummaryInterval.EndValue

Gets the maximum value in the current range.

PivotSummaryInterval.Distribution

Gets information about the distribution of summary values across the summary values range.

PivotSummaryInterval.DataType

Gets the data type of summary values.

PivotSummaryInterval.IsEmpty

Gets whether the current range contains no summary values.

To obtain information about the distribution of summary values at a specific level, use another overload of the GetSummaryInterval method that takes column and row fields as parameters.

See Also