Forum Discussion
Split Table and Re-Join
Hey,
of course somehow your measures are working but at the end it does not help to solve my problem. Of course this is very much related to my bad description. But due to your formulas, maybe I do not even need a new table but just can solve this with some new columns in the existing one.
Please see below a very shortend part of my table. It has much more columns and thousands of rows as this table mixes per month the active employees (column FTE/HC) as well as hirings and leavings (column FTE Change/HC Change). Due to FTE-Splits, we even can have multiple columns for active employees as well as hirings and leavings. Good thing is, that we need to solve it for HC anyway, so we can focus on HC Change (+1 = hirings, -1 = leavings).
Due to seasonal work, employees might even appear multiple times as hiring and leaving, like in the example.
The columns I need formulas for, are the last 3 ones, whereas "Hiring Period" might not be needed or could be easily solved with something like: IF(Details[HC Change]=1;Details[Period];BLANK())
Drop-Off Diff is also not really a big challange, but how to calculate the Leaving Period? If possible, I would always like to check for the Leaving Period right after the Hiring Period.
I hope I could make it as clear as possible and the table is usefull too.
| Period | Person ID | FTE | HC | FTE Change | HC Change | Leaving Period | Hiring Period | Drop-Off Diff |
| 01.07.2018 | XYZ | 1 | 1 | 1,00 | 1 | 01.09.2018 | 01.07.2018 | 2 |
| 01.08.2018 | XYZ | 1 | 1 | 0,00 | 0 | |||
| 01.09.2018 | XYZ | 0 | 0 | -1,00 | -1 | |||
| 01.07.2019 | XYZ | 1 | 1 | 1,00 | 1 | 01.09.2019 | 01.07.2019 | 2 |
| 01.08.2019 | XYZ | 1 | 1 | 0,00 | 0 | |||
| 01.09.2019 | XYZ | 0 | 0 | -1,00 | -1 |
Sorry, that it was not that clear from the beginning, but due to the measures I came to the conclusion, that it would be even much better to add this to the existing table instead of creating a new one.