PivotFilterCollection.AddTop10Filter

PivotFilterCollection.AddTop10Filter method

Filters by values of data pivot field.

public PivotFilter AddTop10Filter(int baseFieldIndex, int valueFieldIndex, PivotFilterType type, 
    bool isTop, int itemCount)
ParameterTypeDescription
baseFieldIndexInt32The index of field in the source.
valueFieldIndexInt32The index of data field in the data region.
typePivotFilterTypeThe type of filtering data. Only can be Count,Sum and Percent.
isTopBooleanIndicates whether filter from top or bottom
itemCountInt32The item count

See Also