I got this portal, see attached picture, for our pension department.
The portal is used for entering salary on our customers.
Now, when a salary have been entered, a calculated field is calculating the total pension contributions.
The calculated field goes like this:
Last ( Pension_Employee_SalaryPortal::YearSalary ) * Pension contributions (// A nummeric field ) / 100
Now the problem is, that I can't get the calculated field to 'get' the last created salary in the portal, it just keeps calculating based on a former salary.
The portal is sorted after SalaryCreatedDate