Interface ICalculatedFields
- All Superinterfaces:
Iterable<IPivotField>
A collection of PivotField objects that represents all the calculated fields in the specified PivotTable report.
- See Also:
-
-
Method Summary
Creates a new calculated field.
Get calculated field by index.
Get calculated field by name.
int
Returns the number of calculated fields.
void
Remove the calculated fields by name.
-
Method Details
-
getCount
int getCount()
Returns the number of calculated fields.
-
get
Get calculated field by index.
- Parameters:
index
- The index of the calculated field.
- Returns:
- calculated field
- See Also:
-
-
get
Get calculated field by name.
- Parameters:
fieldName
- The name of the calculated field.
- Returns:
- calculated field
- See Also:
-
-
add
Creates a new calculated field. Returns a PivotField object.
- Parameters:
Name
- The name of the field.
Formula
- The formula for the field.
- Returns:
- the calculated field
- See Also:
-
-
remove
Remove the calculated fields by name.
- Parameters:
fieldName
- name of calculated field