Add a new calculated column.
Namespace: Spotfire.Dxp.DataAssembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- name
- Type: System String
The name of the calculated column.
- expression
- Type: System String
The expression describing how the calculated column should be calculated.
Return Value
Type: DataColumnThe newly created calculated column.
Exceptions
Exception | Condition |
---|---|
System ArgumentException | Thrown if the name of the column is not valid or already exists in the collection. |
Spotfire.Dxp.Data.Exceptions ExpressionException | Thrown if the expression is not valid. |
Version Information
See Also