# Aggregate SLOs in Dynatrace

**URL:** <https://community.dynatrace.com/t/aggregate-slos-in-dynatrace/48784>\
**Category:** Automations\
**Tags:** slo, services\
**Created:** [November 7, 2024, 1:30pm UTC](https://community.dynatrace.com/t/aggregate-slos-in-dynatrace/48784 "2024-11-07T13:30:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [November 7, 2024, 1:30pm UTC](https://community.dynatrace.com/t/aggregate-slos-in-dynatrace/48784/1 "2024-11-07T13:30:46Z")

</div>

Hello

im having an issue combining SLOs in my environment.

what I’m trying to do here is combine 2 SLOs to get 1 global SLOs.

for example :

SLO1 (external services)

SLO2 (internal services)

SLO3 = (SLO1+SLO2)/2

it works generally but when one of the SLOs has no data it doesn’t work.

for example if there is no traffic in SLO2

then SLO3 gives an NA status when it should consider it as “0” and work only with SLO1

how can I achieve that ?

---

<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:** [November 7, 2024, 1:42pm UTC](https://community.dynatrace.com/t/aggregate-slos-in-dynatrace/48784/2 "2024-11-07T13:42:34Z")

</div>

Use the default transformation.

> **[Default transformation - Metrics API - Metric selector](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/metric-selector#default)**
>
> The metric selector is a powerful instrument for specifying which metrics you want to read via the GET metric data points request or in the Advanced mode of Data Explorer. | Configure the metric selector for the Metric v2 API.

---

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [November 8, 2024, 9:19am UTC](https://community.dynatrace.com/t/aggregate-slos-in-dynatrace/48784/3 "2024-11-08T09:19:48Z")

</div>

Does it work also in slo functions ?

for example how do I add it to this function :

((func:slo.Slo1\*5)+(func:slo.Slo2\*2))/7

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [November 8, 2024, 9:54am UTC](https://community.dynatrace.com/t/aggregate-slos-in-dynatrace/48784/4 "2024-11-08T09:54:52Z")

</div>

Hello&nbsp;[@SOBE](https://community.dynatrace.com/user/63104)

It’s subjected to try and error attempts&nbsp;😊.

- [configure-and-monitor-slo](https://docs.dynatrace.com/docs/platform-modules/automations/service-level-objectives/configure-and-monitor-slo)
- [slo-definition-configuration-examples](https://docs.dynatrace.com/docs/platform-modules/automations/service-level-objectives/slo-definition-configuration-examples)

:dynaspin:💡

Hoping it adds value,

BR

Peter
