add_top_10_filter method
add_top_10_filter
Filters by values of data pivot field.
def add_top_10_filter(self, base_field_index, value_field_index, type, is_top, item_count):
...
Parameter | Type | Description |
---|---|---|
base_field_index | int | The index of field in the source. |
value_field_index | int | The index of data field in the data region. |
type | PivotFilterType | The type of filtering data. Only can be Count,Sum and Percent. |
is_top | bool | Indicates whether filter from top or bottom |
item_count | int | The item count |
See Also
- module
aspose.cells.pivot
- class
PivotFilterCollection