Skip to main content

Insert Pivot Table

Excel·v1.11.1
ExcelCharts and PivotsSystem access

Add a live PivotTable with a field list and slicers. Needs Excel installed on Windows. Put this step last: a later Excel step rewrites the file and drops the pivot

Inputs

NameTypeRequiredDefaultDescription
Excel Instance
excelInstance
variableRequiredNot set
Data Sheet
sourceSheetName
stringOptionalNot setThe sheet holding the data. Leave empty for the first sheet.
Data Range
sourceRange
stringOptionalNot setFor example A1:F500. Leave empty to use everything on the sheet.
Filters
filterFields
arrayOptionalNot setOptional column headings, as drop-downs above the pivot
Columns
columnFields
arrayOptionalNot setOptional column headings, across the top of the pivot
Rows
rowFields
arrayRequiredNot setOne or more column headings, down the left of the pivot
Values
valueField
stringRequiredNot setThe column heading holding the numbers to total
Summarise Values By
aggregation
enumOptionalsum
sumcountaveragemaxmin
Put Pivot On
pivotSheetName
stringOptionalPivotCreated if it does not exist yet
Top-Left Cell
targetCell
stringOptionalA3
Pivot Name
pivotName
stringOptionalExekraPivot

Compatibility

WindowsLinuxAttendedUnattended

Related activities