Hello NitinRajput
You can try this:
1- Write an expression to check if current value is > 0 and previous value is 0, store the result in a pi tag.
2-Use TimeEq() function to get runtime(seconds) based on your need
Thanks Piyushdubey
Thanks Piyushdubey