Employee Turnover Report
I am trying to create an employee turnover report using a master list of employees, all time, with hire date, term date current status etc. Ideally would be able to use this as a running report to be able to see a snap shot of a time in the past - looking for active at start, # of new hires, # of terminations, active at end and turnover percentage. Not quite sure where to start, new to domo, have tried to just get a simple count of hire dates and term dates using some beast mode calc I found through searches here but none seem to work. Can anyone help, data sample is attached.
Comments
-
Hi @user033862
Depending on how granular you'd like the snapshots and the number of employee records this could end up being a lot of records. What I'd recommend is having a dataflow run every so often (probably monthly unless you need it more granular) where it could calculate the number of employees, hires, terminations and status. You'll also want to include the current timestamp in the field when this runs to graph against later.. You can then feed this into a snapshot dataflow to record this when it's finished running. You can then display the aggregated data over time using the timestamp field.
Here's a link to the article which describes a recursive snapshot dataflow: https://knowledge.domo.com/Prepare/DataFlow_Tips_and_Tricks/Creating_a_Recursive%2F%2FSnapshot_ETL_DataFlow
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
If you're using ETL 2.0 the recursive portion will be a bit different since it handles NULLs differently than ETL 1.0.
The Magic ETL 2.0 documentation can be found here: https://knowledge.domo.com/Prepare/DataFlow_Tips_and_Tricks/Creating_a_Recursive%2F%2FSnapshot_DataFlow_in_Magic_ETL_v2_(Beta)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
"Depending on how granular you'd like the snapshots and the number of employee records this could end up being a lot of records. What I'd recommend is having a dataflow run every so often (probably monthly unless you need it more granular) where it could calculate the number of employees, hires, terminations and status."
I strongly disagree with / advise against this approach because IF you build a recursive dataflow on an aggregate (GROUP BY MONTH and calculate headcount, hires, terminations etc.) THEN you lose flexibility if you want to change or add new metrics (ex. how many employees changed roles within the company).
The more flexible (but still similar) solution would be to take a monthly (or whatever frequency) recursive snapshot of the entire Employee report. Then apply logic to determine if the employee was there last month (isNewHire), if the employee is missing next month (isTerminated) or if the employee's job changed from this month to next month (isNewRole).
Similar but not same question here: https://dojo.domo.com/t5/Beast-Mode-ETL-Dataflow/Calculating-the-Running-Maximum/m-p/51132
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive