Skip to content

first

Takes the first non-null grouped value.

first(xs:list) -> any

The first function returns the first non-null value in xs.

The values to search.

from {x: null}, {x: 2}, {x: 3}
summarize first_value=first(x)
{first_value: 2}

last