MaxX
Iterator
MaxX(table, rowExpr)
Like SumX with MAX over the per-row values.
When to use it
Section titled “When to use it”- The largest computed line value — biggest single line item in an order.
Example
Section titled “Example”BiggestLine := MaxX(Sales, Sales.Qty * Sales.Price)