
## PivotAreaFilter class

Represents the filter of [`PivotArea`](/cells/python-net/aspose.cells.pivot/pivotarea) for [`PivotTable`](/cells/python-net/aspose.cells.pivot/pivottable).



The PivotAreaFilter type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [`__init__(self)`](/cells/python-net/aspose.cells.pivot/pivotareafilter/__init__/#) | Constructs a new instance of PivotAreaFilter |


### Properties
| Property | Description |
| :- | :- |
| [selected](/cells/python-net/aspose.cells.pivot/pivotareafilter/selected) | Indicates whether this field has selection.<br/>Only works when the PivotTable is in Outline view. |


### Methods
| Method | Description |
| :- | :- |
| [`is_subtotal_set(self, subtotal_type)`](/cells/python-net/aspose.cells.pivot/pivotareafilter/is_subtotal_set/#aspose.cells.pivot.pivotfieldsubtotaltype) | Gets which subtotal is set for this filter. |
| [`set_subtotals(self, subtotal_type, shown)`](/cells/python-net/aspose.cells.pivot/pivotareafilter/set_subtotals/#aspose.cells.pivot.pivotfieldsubtotaltype-bool) | Subtotal for the filter. |



### See Also
* module [`aspose.cells.pivot`](..)
* class [`PivotArea`](/cells/python-net/aspose.cells.pivot/pivotarea)
* class [`PivotTable`](/cells/python-net/aspose.cells.pivot/pivottable)
