Skip to end of metadata
Go to start of metadata
Contents Summary
 

Show report filter pages option

Excel supports creating pivot tables, adding report filters and enable "Show Report Filter Pages" option. Aspose.Cells also supports this feature to enable the "Show Report Filter Pages"option on created pivot table. Following is the screen showing option in Excel. 

Show report pages filter option.png

As a result of this option the created workbook contains more worksheets. It splits every possible value of report filter in a separate worksheet. In this example it has a filter on "Position"and data have three distinct positions (A,B,C). This feature adds 3 additional worksheets named A,B,C which are the same pivot table but with preselected option A,B and C.

Sample source file and output files can be downloaded here for testing the sample code:

samplePivotTable.xlsx

outputSamplePivotTable.xlsx

 

Labels
  • No labels