MIN

The minimum value in the time window.

Syntax

MIN(VALUE)

Arguments

VALUE: An expression of any type (INTEGER/STRING/DATE) that can be ordered. ‌

Returns

The result type matches the type of the argument.

Example

Data

[
   {
      "user":"A01",
      "level":1,
      "score":25
   },
   {
      "user":"A01",
      "level":2,
      "score":48
   },
   {
      "user":"A01",
      "level":2,
      "score":81
   },
   {
      "user":"B02",
      "level":1,
      "score":23
   },
   {
      "user":"B02",
      "level":1,
      "score":29
   }
]

Query

Find the lowest score of each user/level:

Results

MAX MIN_BY MIN_EACH MIN_TIME_SERIES

Dialog

Last updated

Was this helpful?