Hi,
When I create excel file only with data it works fine. As soon as I add pivot table, excel gives:
- with XLS - Integrity Error
- with XLSX:
Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition1.xml part (PivotTable cache)
Removed Feature: PivotTable report from /xl/pivotTables/pivotTable1.xml part (PivotTable view)
Removed Records: Workbook properties from /xl/workbook.xml part (Workbook)
Aspose Cells version: 20.1.0.0
Corrupted excel file:
The code for adding pivot table was used from your example page:
pivotTable.RowGrand = true;
pivotTable.AddFieldToArea(PivotFieldType.Row, 0);
pivotTable.AddFieldToArea(PivotFieldType.Column, 1);
pivotTable.AddFieldToArea(PivotFieldType.Data, 2);
without this code, it works fine.
Kind regards