MinX
Iterator
MinX(table, rowExpr)
Like SumX with MIN over the per-row values.
When to use it
Section titled “When to use it”- The smallest computed line value — cheapest effective price after discount.
Example
Section titled “Example”CheapestLine := MinX(Sales, Sales.Qty * Sales.Price)