add_calculated_field method
add_calculated_field
Adds a calculated field to pivot field and drag it to data area.
def add_calculated_field(self, name, formula):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of the calculated field |
formula | str | The formula of the calculated field. |
add_calculated_field
Adds a calculated field to pivot field.
def add_calculated_field(self, name, formula, drag_to_data_area):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of the calculated field |
formula | str | The formula of the calculated field. |
drag_to_data_area | bool | True,drag this field to data area immediately |
See Also
- module
aspose.cells.pivot
- class
PivotTable