# Script Averaging calculations Part 2

**URL:** <https://forum.inductiveautomation.com/t/script-averaging-calculations-part-2/113323>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 15, 2026, 5:08pm UTC](https://forum.inductiveautomation.com/t/script-averaging-calculations-part-2/113323 "2026-01-15T17:08:51Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [January 20, 2026, 7:23pm UTC](https://forum.inductiveautomation.com/t/script-averaging-calculations-part-2/113323/22 "2026-01-20T19:23:27Z")

</div>

> [@amarks](#):
>
> we can use a transform since this is perspective so that removes a step

Just semantics, as a transform will work. However, I would not use one here. I would instead keep the raw return as is, and add a property for the avg and use an expression binding there. That way if you need to add a different aggregate or need the actual raw data for something you don't have to break your previous work or duplicate the binding.

[Previous page](https://forum.inductiveautomation.com/t/script-averaging-calculations-part-2/113323.md?page=1)
