Édition

Partage via


series_sum()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Calculates the sum of series elements.

Syntax

series_sum(series)

Learn more about syntax conventions.

Parameters

Name Type Required Description
series dynamic ✔️ Array of numeric values.

Returns

Returns a double type value with the sum of the elements of the array.

Example

print arr=dynamic([1,2,3,4]) 
| extend series_sum=series_sum(arr)

Output

s1 series_sum
[1,2,3,4] 10