# aggregating NON-stored calculations

**URL:** <https://forum.servoy.com/t/aggregating-non-stored-calculations/231>\
**Category:** Classic Servoy\
**Created:** [August 5, 2003, 12:28am UTC](https://forum.servoy.com/t/aggregating-non-stored-calculations/231 "2003-08-05T00:28:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neale](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@Neale](https://forum.servoy.com/u/Neale)\
**Post date:** [August 5, 2003, 12:28am UTC](https://forum.servoy.com/t/aggregating-non-stored-calculations/231/1 "2003-08-05T00:28:27Z")

</div>

It appears that I can’t aggregate a non-stored calculation (but a stored calc is OK).  
Any chance that this functionality will become available?  
Alternatively, a work-around (that doesn’t involve storing the calculation!) would be appreciated.

Thanks,  
Neale.

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [August 5, 2003, 8:01am UTC](https://forum.servoy.com/t/aggregating-non-stored-calculations/231/2 "2003-08-05T08:01:15Z")

</div>

The reason you can’t aggregate an unstored calculation is that Servoy relies on your sql backend for aggregations (to offer the maximum performance). To aggregate an unstored caculation loop through your foundset or related foundset (you can loop through related data from the main form in Servoy)
