
## add_calculated_item(self, name, formula) {#System.String-System.String}

Add a calculated formula item to the pivot field.



```python

def add_calculated_item(self, name, formula):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | System.String | The item's name. |
| formula | System.String | The formula of pivot item. |
### Remarks

Only supports to add calculated item to Row/Column field.


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