Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pivot table calculation and the GetPivotData function support #1418

Open
wants to merge 130 commits into
base: develop7_2
Choose a base branch
from

Conversation

JanKallman
Copy link
Contributor

@JanKallman JanKallman commented Apr 16, 2024

Pivot Data Calculation

Added functions & propeties

  • ExcelPivotTable.Calculate method
  • ExcelPivotTable.GetPivotData method
  • ExcelPivotTable.IsCalculated Property

Calculating Data Fields on rows and columns:

Functions:

  • Sum
  • Count
  • Average
  • Min
  • Max
  • Product
  • Count Numbers
  • StdDev
  • StdDevP-
  • Var
  • VarP

Support for Show Value as

Show Value As:

  • % of Grand Total
  • % of Column Total
  • % of Row Total
  • % Of
  • % of Parent Row Total
  • % of Parent Column Total
  • % of Parent Total
  • Difference From
  • % Difference From
  • Running Total in
  • % Running Total in
  • Rank smallest to largest
  • Rank largest to smallest
  • Index

Sorting

Page fields

Filters

Caption filters
Numeric Filters
Date & Time Filters
Value Filters
Top/bottom filters
Slicers

Calculated Fields

Current limitations:

  • EPPlus will not handle external data sources or OLAP data sources.
  • EPPlus will not handle subtotals functions set for a row/column field. The data field function is currently used.

…are/EPPlus into feature/getpivotdata

# Conflicts:
#	src/EPPlus/Table/PivotTable/Calculation/ShowDataAs/PivotShowAsPercentOf.cs
JanKallman and others added 30 commits April 19, 2024 10:49
# Conflicts:
#	src/EPPlusTest/Export/ToCollection/ToCollectionTests.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants