I am struggling to find the initial timestamp of a point's current value. As seen in the plot, the tag has had the value of "1" for several days. Is there a simple way to find out exactly when the value of the point changed from "0" to "1"? I have tried using PrevVal and PrevEvent but those do not provide the answer; since the compression max time has elapsed the previous value is "1" as well. Thank you for the help!

Hi Sullitw,

With Asset based Analytics (PI Analysis Service), you can use in combination the functions FindEq() and NextEvent(). For example:

FindEq() in the above equation would find the first TimeStamp relative to now in the last 7 days that Boolean was equal to 0. Then NextEvent would find the next timestamp where boolean has a non-zero value.

Hope this helps,

Sebastien