Min
The Min function finds the minimum value for a column or group.
To find the minimum value across columns, use the Least function.
The Min function is an aggregate function.
Aggregate functions evaluate one or more rows of data and return a single value.
In a table element, the aggregate is calculated for each grouping. For information on how to add a grouping with an aggregate calculation to a table, see Group columns in a table.
In a table with no groupings, the aggregate is calculated for each row. For information on how to calculate summary statistics across all rows in a table, see Add summary statistics to a table.
To learn more about using aggregate functions, see Building complex formulas with grouped data.
Usage
Min([column])
Function arguments:
- [column] (required) The column to be searched. Can be of type Number, Date, and String.
The minimum of strings is determined by sort order, which is affected by your database settings. Sort order is most often blank spaces > special characters > numbers > uppercase letters > lowercase letters.
For numbers, preceding and trailing zeroes most often have no effect on sort order.
Example
Min([Balance])
- Finds the smallest balance. Could be negative.
Min([Name])
- Finds the first name alphabetically. If Name was “Betty”, “Charles”, and “Anne”, the result would be ”Anne”.
Min([Invoice Date])
- Finds the lowest Invoice Date, which is the invoice date furthest in the past.
Updated 1 day ago
