Most recent salary record (Active and Termed)
Summary:
I have a report using the subject area Compensation – Salary History Details Real Time.
I need the report to display only the most recent salary record for both Assignment Statuses Active and Inactive. We have many rehires who could have multiple records (both active and inactive). I only want to see the most recent salary record, whether active or inactive. Is there a way to do this?
Below is the formula I've tried, but it’s returns multiple records for rehires (employees who have termed and returned). I only want one record per employee.
CASE WHEN "Worker"."Normal Working Hours" > 0 THEN "Compensation - Salary History Details Real Time"."Salary History"."Annualized Salary" /26/"Worker"."Normal Working Hours" ELSE "Compensation - Salary History Details Real Time"."Salary History"."Salary Amount" END