We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

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);