
## set_text_of_sub_total(self, sub_total_type, text) {#aspose.cells.pivot.PivotFieldSubtotalType-System.String}

Sets the text of [`PivotFieldSubtotalType`](/cells/python-net/aspose.cells.pivot/pivotfieldsubtotaltype) type in the PivotTable.



```python

def set_text_of_sub_total(self, sub_total_type, text):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| sub_total_type | aspose.cells.pivot.PivotFieldSubtotalType | The [`PivotFieldSubtotalType`](/cells/python-net/aspose.cells.pivot/pivotfieldsubtotaltype) |
| text | System.String | The text of given type |



### See Also
* module [`aspose.cells`](../../)
* class [`PivotFieldSubtotalType`](/cells/python-net/aspose.cells.pivot/pivotfieldsubtotaltype)
* class [`SettablePivotGlobalizationSettings`](/cells/python-net/aspose.cells/settablepivotglobalizationsettings)
