series_product()

Learn how to use the series_product() function to calculate the product of series elements.

Calculates the product of series elements.

Syntax

series_product(series)

Parameters

NameTypeRequiredDescription
seriesdynamic✔️Array of numeric values.

Returns

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

Example

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

Output

s1series_product
[1,2,3,4]24