Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
alespooletto
Creator II
Creator II

Count a status for SFC when employee is last one to have worked on the SFC before said status

I have this situation, where an action_code in my table can be 'LABOR_OFF' when an operator finished working on the product but can also be 'REWORK' in case the product has received a negative rating from the operator. However, only the system user is associated with this action code, and not the employee.

So, if I want to count the number of reworks that are associated with an employeeI would have to check who was the last employee that worked on the SFC before it acquired action_code = 'REWORK'. 

Do you know any way to do this?

alespooletto_0-1709218666033.png

 

In my case, the operator that needs to have a REWORK counted in their column is the one evidenced here, because it was the last one before the SFC went onto 'REWORK' status. But the user associated with it is only 'MESYS' 

Labels (1)
4 Replies
theoat
Partner - Specialist
Partner - Specialist

Can you reach the QVF?

Enjoy your Qlik.

Kind regards,
Théo ATRAGIE.

alespooletto
Creator II
Creator II
Author

Thank you @theoat , sorry but waht do you mean with reaching the QVF? I have the app loaded onto Qlik

 

theoat
Partner - Specialist
Partner - Specialist

Can you share the QVD to make test.

alespooletto
Creator II
Creator II
Author

Sorry I can't share the whole QVD for privacy purposes, but I can give you the table with the data as it's all on the same table anyways so might be good enough.