# Create expression to calculate aggregated past values

**URL:** <https://community.dynatrace.com/t/create-expression-to-calculate-aggregated-past-values/50845>\
**Category:** Automations\
**Tags:** dynatrace-managed, slo, distributed-tracing\
**Created:** [March 22, 2025, 5:15am UTC](https://community.dynatrace.com/t/create-expression-to-calculate-aggregated-past-values/50845 "2025-03-22T05:15:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![DylanLi](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@DylanLi](https://community.dynatrace.com/u/DylanLi)\
**Post date:** [March 24, 2025, 4:31am UTC](https://community.dynatrace.com/t/create-expression-to-calculate-aggregated-past-values/50845/7 "2025-03-24T04:31:31Z")

</div>

I am trying to use different&nbsp;fold transformation with the expression, but for now I haven’t get the proper option there to generate the wanted graph. Maybe I will adopt Sajarra’s suggestions, to export the single values out to an CSV file to create that graph.

---

_[View the full topic](https://community.dynatrace.com/t/create-expression-to-calculate-aggregated-past-values/50845)._
