Hiding of sub totals

how to hide sub totals in pivot table


Thanks in advance

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

Please use the following code to hide the subtotal in row fields.

pivotTable.RowFields[0].SetSubtotals(PivotFieldSubtotalType.None, true);