How to retrieve selective step data points?

In excel, how would I pull only the Pi data points I have highlighted in the graphic attached? I'd like to filter the zeros out but I can't filter all duplicates, only a duplicate data point on the right side of the plateau if the left side is the same. I don't need timestamps. Just the left side of the plateaus I'm looking for. I'm looking to output these numbers for a 24 hour span from 6-6 daily for all points. The times at which these certain points arise is random. The ups and downs can be much tighter or wider depending on production speeds.

Thanks
Screenshot 2024-04-10 161307.jpg

Parents
  • If you're able to create an analysis in AF, it would be easy to create a calculated tag that only returns these yellow points. Then you could pull that tag into Excel and use it. That would be my recommendation!

    If you still want to attempt making this in Datalink, I'd look towards the Compressed Data function and try to use a filter. If you know the archive value is always 0 before the desired point, you could add this to the Filter field: PrevVal('YourTag','*')=0

Reply
  • If you're able to create an analysis in AF, it would be easy to create a calculated tag that only returns these yellow points. Then you could pull that tag into Excel and use it. That would be my recommendation!

    If you still want to attempt making this in Datalink, I'd look towards the Compressed Data function and try to use a filter. If you know the archive value is always 0 before the desired point, you could add this to the Filter field: PrevVal('YourTag','*')=0

Children