## PivotField::FilterByValue method


Filters by values of data pivot field.

```cpp
PivotFilter Aspose::Cells::Pivot::PivotField::FilterByValue(int32_t valueFieldIndex, PivotFilterType type, double value1, double value2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| valueFieldIndex | int32_t | The index of value field in the value region. |
| type | PivotFilterType | The type of filtering data. |
| value1 | double | The value of filter condition |
| value2 | double | The upper-bound value of between filter condition |

## See Also

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