You are here:
Window Functions for Formulas
Use window functions to perform calculations across rows. For each row of input data, perform a calculation on a selection—or window—of related rows. Unlike aggregation functions that group rows, window functions return a result for each row. For example, you can calculate the changes to the opportunity amount throughout the stages of each opportunity to see if you can hit your sales target.
When entering a formula, use the API name of the field in the expression, not the label. Surround the parameters with parentheses.
You can use the following window functions in a formula expression.

