# PivotTable Class

> PivotTable class in the TX Sheet Control .NET API: Operational pivot handle. Calls reject after document replacement or pivot removal.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Inherits:** `TXTextControl.TXSheetControl.Server.DocumentObject`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > PivotTable Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/llms-full.txt

---

## On This Page

- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/#members)
- [Example](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/#example)

---

## In This Section

- [PivotTable.CreateChartAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/createchartasync-method/llms.txt): PivotTable.CreateChartAsync method in the TX Sheet Control .NET API, with its syntax, the return type Chart and a C# example.
- [PivotTable.DrillThroughAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/drillthroughasync-method/llms.txt): PivotTable.DrillThroughAsync method in the TX Sheet Control .NET API: Returns up to limit contributing source records (1..100000; default 1000).
- [PivotTable.GetDataAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/getdataasync-method/llms.txt): PivotTable.GetDataAsync method in the TX Sheet Control .NET API, with its syntax, the return type null and a C# example.
- [PivotTable.GetFieldsAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/getfieldsasync-method/llms.txt): PivotTable.GetFieldsAsync method in the TX Sheet Control .NET API: Lists source and calculated field names. Shown with a C# example.
- [PivotTable.GetItemsAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/getitemsasync-method/llms.txt): PivotTable.GetItemsAsync method in the TX Sheet Control .NET API: Lists distinct typed or grouped field members, including blank members.
- [PivotTable.GetNameAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/getnameasync-method/llms.txt): PivotTable.GetNameAsync method in the TX Sheet Control .NET API: Reads the unique display name. Shown with a C# example.
- [PivotTable.GetResultAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/getresultasync-method/llms.txt): PivotTable.GetResultAsync method in the TX Sheet Control .NET API: Computes detached cells and axis paths without editing the workbook.
- [PivotTable.GetSnapshotAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/getsnapshotasync-method/llms.txt): PivotTable.GetSnapshotAsync method in the TX Sheet Control .NET API: Reads detached current settings and the last materialized output range.
- [PivotTable.Id Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/id-property/llms.txt): PivotTable.Id property in the TX Sheet Control .NET API: Stable identity within the owning workbook. Shown with its type string and a C# example.
- [PivotTable.RefreshAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/refreshasync-method/llms.txt): PivotTable.RefreshAsync method in the TX Sheet Control .NET API: Re-reads the live source and writes result cells in one undo step.
- [PivotTable.RemoveAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/removeasync-method/llms.txt): PivotTable.RemoveAsync method in the TX Sheet Control .NET API: Removes the pivot; keepValues retains the static output.
- [PivotTable.SetExpandedAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/setexpandedasync-method/llms.txt): PivotTable.SetExpandedAsync method in the TX Sheet Control .NET API: Expands or collapses one typed member path on the rows or columns axis.
- [PivotTable.SetFieldsAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/setfieldsasync-method/llms.txt): PivotTable.SetFieldsAsync method in the TX Sheet Control .NET API: Sets the rows or columns axis; fields include sorting and grouping settings.
- [PivotTable.SetFiltersAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/setfiltersasync-method/llms.txt): PivotTable.SetFiltersAsync method in the TX Sheet Control .NET API: Replaces report, member, label and value filters. An empty array clears filters.
- [PivotTable.UpdateAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/updateasync-method/llms.txt): PivotTable.UpdateAsync method in the .NET API: Applies a camelCase partial settings object and refreshes atomically. Unspecified settings remain unchanged.

---

## Nearby

- **Previous:** [OpenDocumentSpreadsheetSaveOptions.PreserveOriginal Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/opendocumentspreadsheetsaveoptions/preserveoriginal-property/llms.txt)
- **Next:** [PivotTable.Id Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottable/id-property/llms.txt)
