How to get the last value duration?

Hello y'all, I hope you're good!

 

I'm trying to get the last value of an attribute duration. Let me give you more information. I have an attribute "Status" than only have a 0 or 1 as a value. So if the value us 1 i want to know how many time has been 1. If this change to 0 I also want to know since when is 0. I would like to save this duration in a single attribute.

 

I know I can use Event Frames but this only works for one case and I would need to save the output in different attributes.

 

I'm open to any idea Slight smile

Parents Reply Children
No Data