# Expected return format for MinMax aggregate using a Custom History Provider?

**URL:** <https://forum.inductiveautomation.com/t/expected-return-format-for-minmax-aggregate-using-a-custom-history-provider/108239>\
**Category:** Module Development\
**Created:** [July 8, 2025, 4:14pm UTC](https://forum.inductiveautomation.com/t/expected-return-format-for-minmax-aggregate-using-a-custom-history-provider/108239 "2025-07-08T16:14:16Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![andrew.jank](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@andrew.jank](https://forum.inductiveautomation.com/u/andrew.jank)\
**Post date:** [August 1, 2025, 6:50pm UTC](https://forum.inductiveautomation.com/t/expected-return-format-for-minmax-aggregate-using-a-custom-history-provider/108239/7 "2025-08-01T18:50:41Z")

</div>

See implementation here:

> [@How to store MinMax aggregate values as QualifiedValues in ProcessedHistoryColumn?](https://forum.inductiveautomation.com/t/how-to-store-minmax-aggregate-values-as-qualifiedvalues-in-processedhistorycolumn/109099/2):
>
> I figured it out. I had to create my own History Node using decompiled versions of DefaultHistoryColumn and ProcessedHistoryColumn. ProcessedHistoryColumn does not work for MinMax and cannot be used. I created the following column to be used for MinMax and the standard case of 1 value per column. import com.inductiveautomation.ignition.common.TypeUtilities; import com.inductiveautomation.ignition.common.model.values.BasicQualifiedValue; import com.inductiveautomation.ignition.common.model.val…

---

_[View the full topic](https://forum.inductiveautomation.com/t/expected-return-format-for-minmax-aggregate-using-a-custom-history-provider/108239)._
