## PivotField::FilterTop10 method


Filters by values of data pivot field.

```cpp
PivotFilter Aspose::Cells::Pivot::PivotField::FilterTop10(int32_t valueFieldIndex, PivotFilterType type, bool isTop, int32_t itemCount)
```


| Parameter | Type | Description |
| --- | --- | --- |
| valueFieldIndex | int32_t | The index of data field in the data region. |
| type | PivotFilterType | The type of filtering data. Only can be Count,Sum and Percent. |
| isTop | bool | Indicates whether filter from top or bottom |
| itemCount | int32_t | The item count |

## See Also

* Class [PivotFilter](../../pivotfilter/)
* Class [Vector](../../../aspose.cells/vector/)
* Enum [PivotFilterType](../../pivotfiltertype/)
* Class [PivotField](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
