
## filter_by_label(self, type, label1, label2) {#aspose.cells.pivot.PivotFilterType-System.String-System.String}

Filters by captions of row or column pivot field.



```python

def filter_by_label(self, type, label1, label2):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | aspose.cells.pivot.PivotFilterType | The type of filtering data. |
| label1 | System.String | The label of filter condition |
| label2 | System.String | The upper-bound label of between filter condition |



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