Description
The minAll
function is used to determine the smallest value of a specific calculation or expression (expression
) for all objects within a project or a task list. It can optionally include subtasks in the calculation.
Syntax
minAll('expression', includeSubtasks)
Arguments
Argument | Description |
---|---|
expression |
The expression whose smallest value is to be calculated. |
includeSubtasks |
Boolean value (true or false ) indicating whether to include subtasks. |
Return Type
The function returns the smallest calculated value. The return value is a float (floating-point number), even if no visible decimal places are present.
Examples
Description | Example | Result |
---|---|---|
Calculate the smallest value of production costs |
minAll('Kosten', true) |
Returns, for example, 1000.00 . |
Do not include subtasks |
minAll('Kosten', false) |
Returns the smallest value without subtasks, e.g., 500.00 . |
Notes
- Subtasks: If
includeSubtasks
is set totrue
, the values of subtasks are also included in the calculation. - Data Validity: Ensure that the fields or calculations in the
expression
are present and correctly defined in your project or task list.
Comments
0 comments
Please sign in to leave a comment.