## PivotField::FilterByLabel(PivotFilterType, const U16String\&, const U16String\&) method


Filters by captions of row or column pivot field.

```cpp
PivotFilter Aspose::Cells::Pivot::PivotField::FilterByLabel(PivotFilterType type, const U16String &label1, const U16String &label2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | PivotFilterType | The type of filtering data. |
| label1 | const U16String\& | The label of filter condition |
| label2 | const U16String\& | The upper-bound label of between filter condition |

## See Also

* Class [PivotFilter](../../pivotfilter/)
* Enum [PivotFilterType](../../pivotfiltertype/)
* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [PivotField](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
## PivotField::FilterByLabel(PivotFilterType, const char16_t*, const char16_t*) method


Filters by captions of row or column pivot field.

```cpp
PivotFilter Aspose::Cells::Pivot::PivotField::FilterByLabel(PivotFilterType type, const char16_t *label1, const char16_t *label2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | PivotFilterType | The type of filtering data. |
| label1 | const char16_t* | The label of filter condition |
| label2 | const char16_t* | The upper-bound label of between filter condition |

## See Also

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