你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
series_sum()
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft 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 |