Skip to main content

Hello,

 

for some reason I can´t find any solution online for this problem. It is probably out there but I cant find it.

 

I simply want to showcase the following:

 

The Average throughput time between Activity A and C, but ignore all cases where it touched Activity B inbetween.

 

This feels like a very easy task but I can´t seem to find how to filter out Activity B.

 

Basically I thought it would like this:

 

AVG (

 CALC_THROUGHPUT (

  FIRST_OCCURRENCE O 'A' ]

  TO

  LAST_OCCURRENCE A 'C' ] ,

  REMAP_TIMESTAMPS ( "_CEL_O2C_ACTIVITIES"."EVENTTIME" , DAYS )

 )

)

 

And then in the component filter:

 

FILTER "_CEL_O2C_ACTIVITIES"."ACTIVITY_EN" NOT IN ('B')

 

This obviously doesn´t work so I am here.

 

Maybe someone can answer me this rather simple question I suppose.

 

Thanks!

Hi Milan,

one way to check for a specific activity would be 'Process equals'.

You could use:

AVG(

  CASE WHEN PROCESS NOT EQUALS 'B'

    THEN CALC_THROUGHPUT ( FIRST_OCCURRENCEN'A'] TO LAST_OCCURRENCEN'C'], REMAP_TIMESTAMPS ( "_CEL_O2C_ACTIVITIES"."EVENTTIME", DAYS ) )

    ELSE NULL

  END

)

to avoid the component filter or use a component filter: " FILTER PROCESS NOT EQUALS 'B' " for your own KPI above.

BR,

Tobias


Hi Milan,

one way to check for a specific activity would be 'Process equals'.

You could use:

AVG(

  CASE WHEN PROCESS NOT EQUALS 'B'

    THEN CALC_THROUGHPUT ( FIRST_OCCURRENCEN'A'] TO LAST_OCCURRENCEN'C'], REMAP_TIMESTAMPS ( "_CEL_O2C_ACTIVITIES"."EVENTTIME", DAYS ) )

    ELSE NULL

  END

)

to avoid the component filter or use a component filter: " FILTER PROCESS NOT EQUALS 'B' " for your own KPI above.

BR,

Tobias

Thank you it worked! Sorry for the late reply 🙂 Forgot to answer back then when I used your answer!


Reply