Working with pivot filters

This REST API adds a pivot filter for a specified pivot table index.

REST API

PUT http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters

Request parameters

Parameter Name Type Location Description
name string path The name of the Excel file.
sheetName string path The worksheet that contains the pivot table.
pivotTableIndex integer path Zero‑based index of the pivot table to which the filter will be applied.
filter object body JSON object that defines the filter settings (e.g., AutoFilter, EvaluationOrder, etc.).
needReCalculate boolean query When true, forces the workbook to recalculate after the filter is added. Default false.
folder string query Folder in cloud storage where the file is located.
storageName string query Name of the cloud storage.

The OpenAPI Specification defines a publicly accessible programming interface and lets you perform REST interactions directly from a web browser.

You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make a call to the Cloud API with cURL.

Cloud SDK Family

Using an SDK is the fastest way to develop against Aspose.Cells Cloud. SDKs handle low‑level details, letting you focus on your business logic. See the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs.