Products Technologies Demo Docs Blog Support Company

Pivot Tables and Data Analysis with TX Sheet Control: Let Your Users Answer Their Own Questions

Learn how pivot tables in TX Sheet Control let users analyze their own data with drag-and-drop field lists, grouping, filtering, Show Values As, calculated fields, and pivot charts, and how the data tools clean up and combine data with previews and undo.

Pivot Tables and Data Analysis with TX Sheet Control: Let Your Users Answer Their Own Questions

Business applications collect data. Orders, invoices, time entries, inventory movements, and sales figures accumulate every day. Sooner or later, someone asks the obvious questions: Which region sold the most last quarter? Which product category is growing? How do this year's numbers compare to last year's?

In this article, we take a closer look at the pivot tables and data analysis tools of TX Sheet Control, and how they let your users answer these questions themselves, directly in your application.

From Records to Answers

Raw records answer no questions. A list of 50,000 orders contains every answer, but it presents none of them. To see the revenue per region and quarter, the records must be grouped, aggregated, and arranged.

Traditionally, this leaves two options, and neither is satisfying.

Developers build a dedicated report for every question. This works for the questions that someone anticipated, but every new question becomes a new development task. Alternatively, users export the data and analyze it in an external spreadsheet. The data leaves the application, the analysis is disconnected from the source, and the results are outdated as soon as the next order arrives.

What users need is a way to explore the data themselves, inside the application that owns it.

Pivot Tables in TX Sheet Control

A pivot table summarizes worksheet records into row groups, column groups, and aggregate values. Its source is a range, an Excel table, or a named range, and its result occupies a worksheet range that updates when the report changes.

Users create a pivot table from the Insert tab. In the Create PivotTable dialog, they select the source data and a destination on a new or an existing worksheet.

Create PivotTable dialog

Building Reports by Drag and Drop

The real power of a pivot table is that users rearrange the report themselves. The field list pane shows all fields of the source. Users drag fields to the Filters, Columns, Rows, and Values areas, and the report updates instantly.

Pivot table field list

Field cards, reorder arrows, and per-field settings make building reports fast, and a search box finds fields in large sources. A question that once required a developer now takes a user a few seconds.

Aggregations and Show Values As

Values are aggregated with the function that fits the question:

  • Totals and counts: Sum, count, count of numbers, and distinct count.
  • Statistics: Average, minimum, maximum, product, standard deviation, and variance.
  • Show Values As: Percentages of row, column, parent, and grand totals, differences, percentage differences, running totals, ranks, and indexes.

A field can appear several times in the Values area, each with its own caption, aggregation, and number format. For example, the same Revenue field can show the total revenue next to the share of the grand total.

Pivot table value settings

Grouping, Filtering, and Sorting

Real data rarely arrives in the shape of the question. Pivot tables in TX Sheet Control reshape it:

  • Grouping: Dates are grouped by years, quarters, months, or days, numbers by intervals, and members into named groups.
  • Filtering: Include or exclude members, compare labels and values, show the Top or Bottom N, and add report filters.
  • Sorting: Sort by labels or values, with custom sort lists and built-in English and German month and weekday names.

Pivot filters combine with each other and never change the filters of the source data.

Calculated Fields and Show Details

Calculated fields add per-record formulas, such as =[Revenue]-[Cost], to calculate a profit that does not exist in the source. And when a number raises a question, Show Details answers it: it creates a new worksheet with the records behind any value, so users see which orders make up a total.

Layouts, Styles, and Pivot Charts

Pivot tables are displayed in a compact, outline, or tabular layout, with options for subtotals, grand totals, repeated labels, and empty and error values. The PivotTable Options dialog shows the effect of layout and formatting settings in a live preview.

PivotTable options

The table styles on the Table Design tab format pivot tables like Excel tables, and pivot charts visualize the result. A pivot chart is bound to its pivot table and follows its fields, filters, sorting, and expansion automatically, so users explore the data and the chart together.

Inserting a pivot chart

Native in XLSX, Available on the Server

Pivot tables are not only an editor feature. They are available in the browser editor, including its Angular component and the Blazor package, and in the .NET and Node.js server packages, without any additional package. A backend service can create a pivot report from application data and deliver it as an Excel workbook, in which ordinary pivot tables and their pivot charts are written as native linked objects.

Learn more

Learn how TX Sheet Control loads, edits, and saves Excel XLSX workbooks with their formulas, formatting, tables, charts, and native pivot tables. This article covers conversion diagnostics, hardened import for untrusted files, and the other supported formats.

Excel Compatibility in TX Sheet Control: Working with the Workbooks Your Users Already Have

Data Tools for Everyday Analysis

Not every analysis needs a pivot table. Often, the data must first be cleaned up, sorted, or combined. The Data tab of TX Sheet Control provides the tools for this:

  • Sort: Sort ranges by several levels, with each sort as a single undoable operation.
  • Column filters and advanced filters: Filter rows by their values or by several combined conditions, without deleting data.
  • Text to Columns: Split delimited or fixed-width text into columns, optionally keeping the leading zeros of identifiers.
  • Remove Duplicates: Remove duplicate rows based on selected columns, with header handling and case sensitivity.
  • Consolidate: Combine up to 64 ranges of a worksheet with an operation and labels, optionally linked to the source data.

Remove Duplicates dialog

Text to Columns, Remove Duplicates, and Consolidate show a preview before they are applied. Users review the result, and the transformation changes nothing until they confirm it. Each transformation is applied as a single undoable operation, so even a large cleanup can be reverted in one step.

Clean Data Starts at Entry

The best way to get clean data is to prevent invalid data in the first place. Data validation constrains cell input with dropdown lists, numeric and date limits, and custom conditions. Input messages tell users what to enter, and error alerts explain why an entry was rejected. Excel-style tables with named columns and calculated columns keep the data structured as it grows.

From Analysis to Dashboards

Pivot tables answer questions in tables. When the answers should be presented visually and explored interactively, dashboards take over. Dashboards in TX Sheet Control use the same worksheet tables and ranges as their data sources and add key metrics, more than 20 chart types, filters, and drill-down on top.

Learn more

Learn how TX Sheet Control builds interactive dashboards directly from worksheet data, without a separate BI tool. This article covers KPI cards, more than 20 chart types, filters, drill-down, what-if parameters, 24 themes, and the dashboard viewer.

Interactive Dashboards with TX Sheet Control: Spreadsheets and Dashboards in One Workbook

Conclusion: Let Users Answer Their Own Questions

Every report that a developer builds answers one question. Pivot tables and data tools let users answer many of the others themselves, inside your application and on current data.

The pivot tables and data analysis tools in TX Sheet Control are:

  • Interactive, with drag-and-drop field lists and instant results
  • Powerful, with grouping, filtering, Show Values As, and calculated fields
  • Safe, with previews and undo for data transformations
  • Available in the browser and on the server, and native in XLSX

If your application holds data that users want to analyze, TX Sheet Control gives them the tools to do it without leaving your application.

Download trial

Frequently Asked Questions

A pivot table in TX Sheet Control uses a worksheet range, an Excel table, or a named range as its source. Refreshing the pivot table re-reads the source, including rows added to an Excel table.

Pivot tables support sum, count, count of numbers, average, minimum, maximum, product, standard deviation, variance, and distinct count. Show Values As adds percentages of totals, differences, running totals, ranks, and indexes.

Yes. Pivot tables are available in the browser editor, including its Angular component and the Blazor package, and in the .NET and Node.js server packages, without any additional package.

Yes. TX Sheet Control writes ordinary pivot tables, their caches, and their connected pivot charts to XLSX as native linked objects. Pivot tables that use features such as grouping, record-level calculated fields, distinct counts, ranks, or other unsupported display or filter calculations are written as a snapshot whose refresh is disabled in Excel.

The Data tab provides multi-level sorting, column filters and advanced filters, Text to Columns, Remove Duplicates, and Consolidate. Text to Columns, Remove Duplicates, and Consolidate show a preview before they are applied.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

TX Sheet Control

Excel-compatible spreadsheet editing, a robust calculation engine, and interactive dashboards for business applications.

Learn more about TX Sheet Control

Related Posts

ExcelSpreadsheetXLSX

Excel Compatibility in TX Sheet Control: Working with the Workbooks Your…

Learn how TX Sheet Control loads, edits, and saves Excel XLSX workbooks with their formulas, formatting, tables, charts, and native pivot tables. This article covers conversion diagnostics,…


AngularBlazorJavaScript

Inside the TX Sheet Control Spreadsheet Editor: A Complete Spreadsheet for…

Learn how the TX Sheet Control spreadsheet editor brings a complete spreadsheet into JavaScript, Angular, ASP.NET Core, and Blazor applications. This article covers the ribbon, 522 formula…


AngularBlazorJavaScript

TX Sheet Control 2.0 Is Now Available: Spreadsheets and Dashboards for Your…

Today, we are proud to officially release TX Sheet Control 2.0. The newest member of the Text Control product family brings Excel-compatible spreadsheet editing, a powerful calculation engine,…


ASP.NETASP.NET CoreConference

Meet Text Control at code.talks 2026: Spreadsheets, Documents, and More

Text Control is heading to Hamburg for code.talks 2026 on November 4-5. Stop by our booth to meet the team, explore our latest developer technologies, and be among the first to experience TX Sheet…


ASP.NETASP.NET CoreExcel

Introducing TX Sheet Control: Excel-Compatible Spreadsheets and Interactive…

We are pleased to introduce TX Sheet Control, the latest addition to the Text Control product family. TX Sheet Control brings together Excel-compatible spreadsheet editing, a powerful calculation…

Share this blog post on:

​​​