在 .NET 电子表格应用中计算数据透视表

7月 2, 2024
EPPlus v7.2.0 添加对从数据透视表计算和提取数据的支持,使 .NET 开发人员能够直接在其程序中创建数据透视表。

继续用英语阅读:

EPPlus is a powerful and versatile .NET library for managing and manipulating Microsoft Excel files using the Office Open XML (OOXML) format. It is a lightweight and efficient library that is easy to use and can be integrated into a wide range of applications. It allows developers to create, read and modify spreadsheets without dependencies on any other library. Features include pivot tables, styling, VBA/Form controls, conditional formatting, charts, tables, formula calculation, data validation, pictures/shapes, and more.

The EPPlus v7.2.0 update adds support for calculating and fetching data from pivot tables, allowing .NET developers to enhance the data analysis capabilities of their applications. This feature allows developers to dynamically summarize, analyze, and present large datasets by creating and manipulating pivot tables programmatically. It includes the ability to define calculations (sum, average, etc.) for rows and columns, format values as percentages or differences, and apply various filters (captions, numbers, dates, etc.) and sorting options. This streamlines data analysis workflows and fosters greater control over the final spreadsheet output, empowering developers to deliver more powerful data-driven solutions.

To see a full list of what's new in v7.2.0, see our release notes.

EPPlus is licensed per developer and is available as both perpetual licenses and subscription based licenses with periods of 1 year and 2 years, which include support and upgrades. See our EPPlus licensing page for full details.

For more information, see our EPPlus product page.