IPivotCalculatedFields
Add Method
|
Adds the calculated field to the specified pivot table.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IPivotField Add(
string name,
string formula
)
Function Add (
name As String,
formula As String
) As IPivotField
IPivotField^ Add(
String^ name,
String^ formula
)
abstract Add :
name : string *
formula : string -> IPivotField
Parameters
-
name
-
Type:
System
String
name of the calculated pivot field.
-
formula
-
Type:
System
String
formula of the calculated pivot field.
Return Value
Type:
IPivotField
Calculated pivot field
See Also