Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help - Need to pick last operation per department to calculate output

Hi,

Need to cacluated Qty Completed for the last operation for the department to calculate output per department.

Below is a simple example for one production order. In this case I need some help to 1) flag the last operation in script and then sum it in pivot, or 2) calculate this in expression. I am thinking that firstorted value can be used?

Hope someone can offer their advise.

OperationWork CenterDepartmentQty CompletedDate
10CSW230Machine2002.08.2014
20CSW310Hardening2003.08.2014
30CSW320Hardening2003.08.2014
40CSW410Surface1805.08.2014
50CSW420Surface1606.08.2014

Intended result:

DepartmentQty Completed
Machine20
Hardening20
Surface16
11 Replies
maxgro
MVP
MVP

PFA attachment

1.png

Not applicable
Author

Thanks a lot! Just what was needed.

Best regards,
Freddy