ArrayDistinct
Last updated
Was this helpful?
Last updated
Was this helpful?
The ArrayDistinct function returns the input array without duplicate values and including null values.
The ArrayDistinct function has the following argument:
array Required. The input array that Sigma parses to find and remove duplicates, Must be an array structure; to create single array from a column, use the ArrayAgg function,
This may return [1, 2, 'a']
. Note that the order elements in the the resulting array may not match the order of the input array.
The ArrayDistinct function returns the following values for the Open prices array column as Distinct open prices array; note the differences in array length for each column: