@KaMaz,
Please try our latest version/fix: Aspose.Cells for .NET v18.12.1:
Aspose.Cells18.12.1 For .Net2_AuthenticodeSigned.Zip (4.7 MB)
Aspose.Cells18.12.1 For .Net4.0.Zip (4.7 MB)
Aspose.Cells18.12.1 For .NetStandard20.Zip (3.8 MB)
Your issue should be fixed in it.
Moreover, there are some tips for you:
1.Adds PivotTable.ShowReportFilterPage(PivotField pageField), PivotTable.ShowReportFilterPageByIndex(int posIndex) and PivotTable.ShowReportFilterPageByName(string fieldName) methods.
2.The attachments are source file and result file. The sample code in .NET as follows:
Workbook wb = new Workbook(filePath + "a.xlsx";);
PivotTable pt = wb.Worksheets[1].PivotTables[0];
pt.ShowReportFilterPage(pt.PageFields[0]);
pt.ShowReportFilterPageByIndex(pt.PageFields[0].Position);
pt.ShowReportFilterPageByName(pt.PageFields[0].Name);
wb.Save(filePath + "out.xlsx");
Files.zip (27.0 KB)
Let us know your feedback.