I am trying to create a simple productivity metric to show how many invoices per AP clerk we process each month. In simplified terms
Invoice Count:= DISTINCTCOUNT([Invoice Number])
FTE Count:= DISTINCTCOUNT([User ID])
Invoice per Clerk:= DIVIDE([Invoice Count], [FTE Count])
But... we have employees who are no longer with us who created recurring payments, so each month the payment appears and the zombie employee gets added to the FTE Count for that month and drags down the invoice per clerk count. I would like to screen out the employees with minimal invoice production on the assumption they're no longer there.
I'm hoping someone has already encountered what must be a somewhat common problem. I'm thinking of something along the lines of
Assuming this works (?) the hard limit means I'm looking at just one filter (e.g. 10 per month). If I want to filter on a different time frame or type of voucher then my limit will screen more or fewer FTEs than I wanted. So I'm hoping someone out there has a one-size-fits-all measure where they've solved these problems.
Invoice Count:= DISTINCTCOUNT([Invoice Number])
FTE Count:= DISTINCTCOUNT([User ID])
Invoice per Clerk:= DIVIDE([Invoice Count], [FTE Count])
But... we have employees who are no longer with us who created recurring payments, so each month the payment appears and the zombie employee gets added to the FTE Count for that month and drags down the invoice per clerk count. I would like to screen out the employees with minimal invoice production on the assumption they're no longer there.
I'm hoping someone has already encountered what must be a somewhat common problem. I'm thinking of something along the lines of
Code:
No Zombie FTE :=
VAR ZombieLimit = 10
RETURN
CALCULATE (
COUNTROWS ( VALUES ( Vouchers[User ID] ) ),
[Invoice Count] > ZombieLimit
)