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):
    ...
ParameterTypeDescription
base_field_indexintThe index of field in the source.
value_field_indexintThe index of data field in the data region.
typePivotFilterTypeThe type of filtering data. Only can be Count,Sum and Percent.
is_topboolIndicates whether filter from top or bottom
item_countintThe item count

See Also