Skip to main content
Question

How do I calculate throughput time from start to end for cases that did not meet a certain criteria. e.g I want to calculation the throughput time for cases that has a STP Fail = 'Yes"

  • April 25, 2024
  • 3 replies
  • 22 views

bennita.dutoi12
Level 7
Forum|alt.badge.img+6
How do I calculate throughput time from start to end for cases that did not meet a certain criteria. e.g I want to calculation the throughput time for cases that has a STP Fail = 'Yes"

3 replies

Forum|alt.badge.img+6

Hi @bennita.dutoi12 

 

You can try this.

 

CASE WHEN "CASE"."STP Fail" = 'Yes'

THEN CALC_THROUGHPUT(ALL_OCCURRENCE['Process Start'] TO ALL_OCCURRENCE['Process End'],

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

ELSE NULL

END

 

You can apply any aggregate function on top of this - eg. avg(), median(), if you want to display it as a KPI for all cases.


bennita.dutoi12
Level 7
Forum|alt.badge.img+6
  • Author
  • Level 7
  • 17 replies
  • April 26, 2024

Hi @bennita.dutoi12 

 

You can try this.

 

CASE WHEN "CASE"."STP Fail" = 'Yes'

THEN CALC_THROUGHPUT(ALL_OCCURRENCE['Process Start'] TO ALL_OCCURRENCE['Process End'],

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

ELSE NULL

END

 

You can apply any aggregate function on top of this - eg. avg(), median(), if you want to display it as a KPI for all cases.

Thank you, its works perfectly.


Forum|alt.badge.img+6

Thank you, its works perfectly.

Glad to hear that my response was helpful. Feel free to mark it as the correct answer to your question.😊