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

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 9, 2025, 10:36am UTC](https://community.dynatrace.com/t/create-expression-to-calculate-aggregated-past-values/50845/13 "2025-04-09T10:36:06Z")

</div>

Maybe the rollout transformation?

> **[Metrics API - Metric selector](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/metric-selector)**
>
> Configure the metric selector for the Metric v2 API.

---

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