Aspose::Cells::Pivot::PivotFilterCollection::AddTop10Filter method

PivotFilterCollection::AddTop10Filter method

Filters by values of data pivot field.

PivotFilter Aspose::Cells::Pivot::PivotFilterCollection::AddTop10Filter(int32_t baseFieldIndex, int32_t valueFieldIndex, PivotFilterType type, bool isTop, int32_t itemCount)
ParameterTypeDescription
baseFieldIndexint32_tThe index of field in the source.
valueFieldIndexint32_tThe index of data field in the data region.
typePivotFilterTypeThe type of filtering data. Only can be Count,Sum and Percent.
isTopboolIndicates whether filter from top or bottom
itemCountint32_tThe item count

See Also