Hi,
Please refer to the attached example workbook.
How do I toggle (i.e., show/hide) the sub-totals (e.g., Beverages Total, Condiments Total, etc.,) in the pivot table?
Can we do it at Pivot Table level rather than Pivot Field level?
Hi,
Hi Hitesh,
Can I show different type of sub-totals for different measures/data fields, e.g., showing sum() for Quantity and avg() for Discount measures?
It gives the below error if I set sub-totals for the data fields.
Moreover, it still shows the sub-totals rows even after using the above code snippet!
hitesh.dholaria:
Moreover, it still shows the sub-totals rows even after using the above code snippet!Can you please check it again at your end.
hitesh.dholaria:
It gives the below error if I set sub-totals for the data fields.com.aspose.cells.CellsException: Subtotals are only valid for nondata fields
What is the significance of the second parameter of setSubtotals(int subtotalType, boolean shown) method?
Hi Hitesh,
Hi Hitesh,
Hi
Hi,
This doesn’t seem to do anything. Please can you show sample data and results?
Hi,