Use the trend calculation value in a program like FBP or script.
StruxureWare Building Operation 1.4.1
Once a value has been calculated by a trend, it might be useful to pull it into a piece of programming.
Unfortunately, this is not possible. The Value of a Calculated trend is only accessible from the viewer as a chart or list.