DSMAX
Gets maximum column value in the given Data Source, optionally filtering rows by formula.
Syntax
DSMAX(dsId, columnIndex, 'optionalFilterFormula')
Example
DSMAX('STAFF', 2) gets 3rd column's max value
Add a filter formula using {{this[column]}} to refer to columns.
DSMAX('STAFF', 2, '{{this[5]}} = "BOB"') maxes 3rd column where 6th column = BOB
Notes
Refer to the Data Source by it's External Id (from the Data Source -> Settings page).
Refer to the column by it's zero-based index.