RangeMin - script and chart function
RangeMin() returns the lowest numeric values found within the expression or field.
Return data type: numeric
- first_expr: The expression or field containing the data to be measured.
- Expression: Optional expressions or fields containing the range of data to be measured. Multiple additional expressions can be used.
If no numeric value is found, NULL is returned.
|RangeMin (null( ), 'abc')||
Example: (using expression)
Returns the minimum value in the range of three values of MyField calculated on the current row and two rows above the current row. By specifying the third argument as 3, the Above() function returns three values, where there are sufficient rows above, which are taken as input to the RangeMin() function.
Data used in examples:
LOAD * INLINE [
Example: (in table form)
Add the example script to your document and run it. Then add, at least, the fields listed in the results column to a sheet in your document to see the result.
LOAD recno() as RangeID, RangeMin(Field1,Field2,Field3) as MyRangeMin INLINE [
Field1, Field2, Field3
The resulting table shows the returned values of MyRangeMin for each of the records in the table.