
## add_value_filter(self, base_field_index, value_field_index, type, value1, value2) {#int-int-aspose.cells.pivot.PivotFilterType-float-float}

Filters by values of data pivot field.



```python

def add_value_filter(self, base_field_index, value_field_index, type, value1, value2):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| base_field_index | int | The index of field in the source. |
| value_field_index | int | The index of value field in the value region. |
| type | aspose.cells.pivot.PivotFilterType | The type of filtering data. |
| value1 | float | The value of filter condition |
| value2 | float | The upper-bound value of between filter condition |



### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotFilter`](/cells/python-net/aspose.cells.pivot/pivotfilter)
* class [`PivotFilterCollection`](/cells/python-net/aspose.cells.pivot/pivotfiltercollection)
