# 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:** 12

<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:** [April 1, 2025, 10:51pm UTC](https://community.dynatrace.com/t/create-expression-to-calculate-aggregated-past-values/50845/12 "2025-04-01T22:51:08Z")

</div>

Thanks&nbsp;[@Sajarra](https://community.dynatrace.com/user/83648)&nbsp;  
This may be a solution, although I need to find a efficient way to retrieve the SLO average value for the past 30 days basing on each day

---

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