Takes the last non-null grouped value.
last(xs:list) -> anyDescription
Section titled “Description”The last function returns the last non-null value in xs.
xs: list
Section titled “xs: list”The values to search.
Examples
Section titled “Examples”Get the last non-null value
Section titled “Get the last non-null value”from {x: 1}, {x: 2}, {x: null}summarize last_value=last(x){last_value: 2}