Skip to Main Content
AVEVA Product Feedback


Status Completed
Created by Guest
Created on Aug 20, 2022

Moving Average / Moving weighted average FUNCTION in AF Analysis

our customer wants to have a moving average / moving weighted average function available in AF analysis. So far they are using the prevevent and prevval functions. However with more samples the formula gets too long.
  • ADMIN RESPONSE
    Aug 20, 2022
    PI Server 2018 has been released. The array functionalities in analytics allow you to accomplish this feature request.
  • Attach files
  • Roger Palmen
    Reply
    |
    Aug 20, 2022
    Ehm, don't we have that already? TagAvg?
  • Roger Palmen
    Reply
    |
    Aug 20, 2022
    Ehm, don't we have that already? TagAvg?
  • Guest
    Reply
    |
    Aug 20, 2022
    Or if it's event-weighted, there's TagMean.
  • Guest
    Reply
    |
    Aug 20, 2022
    My customer is looking for this too. A moving average using a time rage works perfect with Tagmean but when you want to use the 40 last events there is no direct function. Using prevevent and prevval will create a pretty long expression.
  • Guest
    Reply
    |
    Aug 20, 2022
    As mentioned in the other comments, it is possible to have a moving average and moving mean with the functions TagAvg and TagMean, however now it is not possible to do so based on a number of events given by customer, for this there is an enhancement request: Event-Weighted Summary Functions (https://feedback.osisoft.com/forums/555148-pi-server/suggestions/17442598-event-weighted-summary-functions).
  • Roger Palmen
    Reply
    |
    Aug 20, 2022
    In response to Carlos Villanua, "My customer is looking for this too. A..." AF 2018 will have some features to do exactly that. So wait around for that release!
  • Roger Palmen
    Reply
    |
    Aug 20, 2022
    In response to Carlos Villanua, "My customer is looking for this too. A..." AF 2018 will have some features to do exactly that. So wait around for that release!
  • Guest
    Reply
    |
    Aug 20, 2022
    In response to Carlos Villanua, "My customer is looking for this too. A..." In AF 2018 you can do this with the new array functionality.