set_subtotals method

set_subtotals

Sets whether the specified field shows that subtotals.

def set_subtotals(self, subtotal_type, shown):
    ...
ParameterTypeDescription
subtotal_typePivotFieldSubtotalTypesubtotals type.
shownboolwhether the specified field shows that subtotals.

See Also