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
variableRequired
Data Sheet
sourceSheetName
stringOptionalThe sheet holding the data. Leave empty for the first sheet.
Data Range
sourceRange
stringOptionalFor example A1:F500. Leave empty to use everything on the sheet.
Filters
filterFields
arrayOptionalOptional column headings, as drop-downs above the pivot
Columns
columnFields
arrayOptionalOptional column headings, across the top of the pivot
Rows
rowFields
arrayRequiredOne or more column headings, down the left of the pivot
Values
valueField
stringRequiredThe 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