Question
Calculation of average cases per user in a number component
Hello,
I am trying to calculate the average number of posted invoices per user in a number component in the AP data model. The basic code of the KPI looks as follows:
COUNT(BKPF.USNAM) / COUNT(DISTINCT(BKPF.USNAM))
The current KPI however does not yet show the real performace of the AP department because many invoices are posted via batch files or batch users and some invoices are posted by users that are doing an internship or an apprencticeship and these users do not post more than for example 100 invoices.
In order to get rid of the cases which were posted by batch users, I used a component filter which works fine. But for the second issue (exclusion of cases which were posted by users that have not posted more than 100 invoices in the selected time range) I have not yet found a solution. I have tried several case when statements and also worked with ABC clusters to exclude the cases of these users, but nothing worked.
Does anybody of you have an idea how this could be solved? I am open for all kinds of proposals.
Best regards
Thomas
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.