Calculate employee occurrences (absent, late, etc) from REHIRE date
Hey all. Wondering if anyone would be able to assist with this.
We have a card (simple bar chart) where we show employee occurrences, e.g. absent, late, early out, etc based on a dataset that pulls together a couple different tables, assigning point values to these occurrences for a sum total (absence = 1 point | late <=10 minutes = .25 | late >10 minutes = .50 | etc).
We report on this for the last 12 months, and we're having an issue with individuals who have been rehired where a gap in employment exists within the rolling 12 month period, so it's still counting occurrences. Realistically, we wouldn't see a rehire with a gap in employment of less than 30 days, so that would be the benchmark to determine gaps.
What we want to do is make is so that all occurrences, even though they're within the last 12 months, are excluded if they were PRIOR to their rehire date, basically only counting occurrences from that date forward, not the full 12 months as we would for anyone who's worked the entire reporting period.
1) should this be done in the dataflow, or at the card level?
2) how would we go about doing this?
Please let me know what other information might be needed to assist. Thanks in advance!
Best Answer
-
I would lean towards adding a `Latest Hire Date` in the dataflow. This would let you add a case statement that would let you only count the occurences when they occur after the latest hire date.
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman2
Answers
-
I would lean towards adding a `Latest Hire Date` in the dataflow. This would let you add a case statement that would let you only count the occurences when they occur after the latest hire date.
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman2 -
Thanks, @ST_-Superman-_ , we'll give that a shot and respond back/accept answer if we're able to get it to work that way. Appreciate your time & assistance
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive