Question
Identify activities which reworked
Dear community,
I would like to create an OLAP table to know which activity reworked more than 2 times.
Dimension: Repeated Activities
KPI: How many cases which contain rework
Does anyone know how to create this table?
Thank you for your support.
Sugano
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
The following formula needs to be typed into load script:
filter (CASE WHEN INDEX_ACTIVITY_TYPE (_CEL_P2P_ACTIVITIES_EN.ACTIVITY_EN) > 2 THEN 1.0 ELSE 0.0 END) = 1
image799180 26.3 KB
The INDEX_ACTIVITY_TYPE operator returns for every activity in every case, how many times, at a given point in a process this activity has already occurred.
Therefore, if we set the condition that the minimum number of reoccurrences should be bigger than 2, we get all the activities which were repeated more than 2 times for each case.
The last step is to create an KPI with the following formula:
MAX(INDEX_ACTIVITY_TYPE (ACTIVITY_TABLE.ACTIVITY))
With this formula only the highest number of repetitions for each activity is listed.
At the end the solution table should look something like this:
Best regards,
Viana