---
title: "get_text_of_sub_total method"
url: "https://reference.aspose.com/cells/python-net/aspose.cells.settings/pivotglobalizationsettings/get_text_of_sub_total/"
product: "Aspose.Cells for Python via .NET API References"
---


## get_text_of_sub_total(self, sub_total_type) {#aspose.cells.pivot.PivotFieldSubtotalType}

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


### Returns 


The text of given type


```python

def get_text_of_sub_total(self, sub_total_type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| sub_total_type | aspose.cells.pivot.PivotFieldSubtotalType | The [`PivotFieldSubtotalType`](/cells/python-net/aspose.cells.pivot/pivotfieldsubtotaltype) |



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