Skip to main content
LEAST
Tom Williams avatar
Written by Tom Williams
Updated over a year ago

Type: Function

Function: LEAST

Syntax: LEAST(value1, ..., valueN)

Description: Returns the lowest value from a list of provided values. This operator applies to a predetermined list of values.

This operator is not an aggregator. It applies to dimensional values only. To return the minimum value in a group (metric), use the MIN aggregator instead.

Sample usage:

  • LEAST(1,2,3) returns 1.

  • LEAST(created_at, updated_at) will always return created_at by definition.

Did this answer your question?