Manual -> Report Generator -> Engineering in the Editor -> Report functions -> Formula assistent
The formula assistent helps with defining formulas.