# System functions for system.historian

**URL:** <https://forum.inductiveautomation.com/t/system-functions-for-system-historian/113468>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [January 22, 2026, 12:10am UTC](https://forum.inductiveautomation.com/t/system-functions-for-system-historian/113468 "2026-01-22T00:10:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@joseph](https://forum.inductiveautomation.com/u/joseph)\
**Post date:** [January 22, 2026, 12:10am UTC](https://forum.inductiveautomation.com/t/system-functions-for-system-historian/113468/1 "2026-01-22T00:10:16Z")

</div>

Hi everyone,

I’m working on a new project using **Ignition 8.3** and trying to implement scripting similar to the legacy `system.tag.queryTagCalculations` function.

From the 8.3 documentation, it looks like `queryTagCalculations` has been deprecated, so I’m attempting to use the newer **`system.historian`** scripting functions instead. Based on the docs, it seems like something along the lines of `system.historian.queryValues()` might be the right replacement.

However, I’m having trouble finding clear reference material or examples for these historian query functions in the Appendix, and I’m not entirely sure which function is the intended replacement for common calculation use cases.

Specifically, I’m trying to:

- Query multiple tag paths

- Get the **maximum value** over a defined time range

- Get a **sum** over a defined time range

I could continue using the deprecated function for now, but I’d prefer to move to the recommended 8.3-compatible approach if one exists.

Any guidance, examples, or clarification on the intended replacement for `queryTagCalculations` in 8.3 would be greatly appreciated.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 22, 2026, 12:16am UTC](https://forum.inductiveautomation.com/t/system-functions-for-system-historian/113468/2 "2026-01-22T00:16:31Z")

</div>

`queryAggregatedPoints` would be the analogue of `queryTagCalculations`:

> **[system.historian.queryAggregatedPoints | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.3/appendix/scripting-functions/system-historian/system-historian-queryAggregatedPoints)**
>
> Queries aggregated data points for the specified historian.
