Save Pivot Table in ODS file

Contents
[ ]

Aspose.Cells provides the ability to save pivot table in ODS files. For this, you just convert a workbook with existing povot table or create a new pivot table and save the file in the ODS format. Be sure to call PivotTable.CalculateData() before saving to ensure that is the pivot table is rendered in the output ODS file. The following code snippet demonstrates saving pivot table in ODS file.

Sample Code

The output file generated the above code is attached for your reference.

Output ODS File