DisplacingCalculationTypes.<Name of chart of calculation types>.Total

Syntax:

Total(<Column>)

Parameters:

<Column> (optional)

Type: Number; String.
Index or name of the column to be totaled.

Returned value:

Type: Number; Undefined.

Description:

Sums up the values of all rows in the specified column.
If there is a single type defined for the column, totaling would cause an attempt to cast values to the Number type.
If no types are assigned to the column, totaling will include only values of the Number type, ignoring values of other types.
If there are multiple types in the column including Number, then totaling will include only values of the Number type, ignoring values of other types.
If there are multiple types in the column excluding Number, the result will be Undefined.

Availability:

Server, thick client, external connection.

Note:

This method is implemented for compatibility with tabular sections and is meaningless for tabular section DisplacingCalculationTypes..

    

1C:Enterprise Developer's Community