r/workday • • 5d ago

Reporting/Calculated Fields worker for HCM reporting

Hi everyone,

I am using the All Workers BO with the filter Include Terminated Workers = Yes. However, I want to include terminated workers only if their termination date falls within the specified date range selected in the report prompt, while continuing to include all active workers.

How can I achieve this using report filters or calculated fields in Workday?

1 Upvotes

13 comments sorted by

14

u/alepor_ 5d ago edited 5d ago

Filters.

Worker is active - equal to - yes

Or

Termination date - is empty

Or

(Termination date - is greater than or equal to - starting prompt

And

Termination date - is less than or equal to - ending prompt )

Edit, adjusting the order per the sound logic of ProfWiggles.

Edit2, Random_Guy_Randoming also with the sound logic (leaving term date blank for future hires, remove if not needed)

2

u/Ok-Web2570 4d ago

this worked, Thanks a ton

5

u/ProfWiggles 5d ago

Just an efficiency thing and maybe worth testing with the report log, I would switch the or statement so the one getting active is first. If there are more actives than terms it will match and move to the next worker.

2

u/alepor_ 5d ago

Amended good redditor, you are correct

4

u/Random_Guy_Randoming 5d ago edited 5d ago

Be careful with "termination date - is empty". In our system rehires will have a termination date from their previous term. You can build a calc field to only return it for inactive employees though.

1

u/thompr2 15h ago

Been caught with this myself. The calc field is the way.

1

u/Afrokon_ 5d ago

Hey why did you add terminate date - is empty? Is this needed?

1

u/Random_Guy_Randoming 4d ago

It's probably not necessary since he has the active = yes filter. I don't think it hurts anything though...just redundant.

1

u/alepor_ 4d ago

It would allow you to report on people who are not active as of the report effective date, but not because they are terminated (future dated starters for example)

2

u/Afrokon_ 4d ago

Yeah that makes sense, also I don’t believe active includes employees on leave

2

u/WorkdayWoman Workday HCM SME and HRIS Consultant 4d ago

I would not use Termination Date ie empty. Use Terminated as of Report Effective Date not equal to Yes.

1

u/Comfortable-Law7464 4d ago

I work in a very high turnover, high population company. If I were doing this exercise, the filter would be an Extract Single Instance on all termination history approved. The True/False Conditional would be if the termination effective date was between the prompted dates. The filter on the report would be "If ESI - Find Term during time period) is not empty. You'll need to make some Prompt calc fields for the TF Calc field. This approach is helpful is you're worried about boomerang employees that are leaving and coming back regularly.

1

u/ApprehensiveCod3563 4d ago

Just put a from and end date