Hello-
I need help with an equation that calculates headcount for our Budgeted Roster. In this case, we have 1,667 people in our budget. When the budget roster is transformed, the number of lines goes up by approximately 100. This is due to specific positions being split between departments. i.e. John Smith might work in two areas so he would be .5 of a headcount in each department.
The issue that we are running into deals with a Position that has two full-time employees associated with it. One of the employees is on paid leave and the other is filling in for that person full-time. The equation to calculate headcount is saying that each of those folks is only .5 of a person rather than 1 person - thus giving us a total headcount of 1,666 in the transform instead of 1,667.
On our Budget Roster Transform, the following equation is used to determine headcount (which should sum to 1,667).
=IF(FTE>0,1,0)/SumIf(Position, Position,1)
So this equation is saying that because the FTE (full time equivalent) for these people is 1, but there are two lines for that position, each of them are only .5 of a headcount (1 FTE/ 2 Positions). We thought about switching the denominator to sum Names instead of Positions to get headcount, but some of the budgeted positions didn't have people associated with them yet so they are blank. I guess we could put in "NEW POSITION 1", "NEW POSITION 2", etc if need be.
We think that if there was an equation that worked something like the following we would be able to work around this issue:
IF (FTE=1 and COUNT OF POSITION >1),
THEN (COUNT OF POSITION),
OTHERWISE (IF(FTE>0,1,0))
DIVIDED BY SumIf(Position,Position,1)
Now I know that that isn't an actual equation, but I cannot figure out how to get this idea across in the equations provided in Apptio. Would it be possible to create an equation that does that? Or is this something I will need to find another work around for?
Let me know if any of you have any advice!
Thanks!