# Creating a metric that is a combination of two other metrics

**URL:** <https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202>\
**Category:** Dashboarding\
**Tags:** dashboards-classic\
**Created:** [January 14, 2021, 11:52am UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202 "2021-01-14T11:52:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [January 14, 2021, 11:52am UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202/1 "2021-01-14T11:52:53Z")

</div>

Hello,

I have created two calculated service metrics for a service.

Number of requests (split by an attribute)

Number of errors (split by the same attribute)

I would like to create a relative comparison (like we had in NAM)

“relative number of errors”= “number of errors” / “number of requests”

Is this possible?

KR Henk

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [January 14, 2021, 11:56am UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202/2 "2021-01-14T11:56:11Z")

</div>

Hi Henk!

Calculated metric which is going to solve exactly that use case is planned for somewhere in the near future. [@Michael K.](https://answers.dynatrace.com/users/11582/view.html) for the current planning and if there already are details which can be shared.

Mike

---

<div class="post-metadata">

**Author:** ![Bill\_Demsky](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bill_demsky/32/11557_2.png) [@Bill\_Demsky](https://community.dynatrace.com/u/Bill_Demsky)\
**Post date:** [January 14, 2021, 12:04pm UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202/3 "2021-01-14T12:04:15Z")

</div>

You can do that now on a dashboard with the Powerup extension

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [January 14, 2021, 7:07pm UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202/4 "2021-01-14T19:07:24Z")

</div>

Hello Bill,

Looking at the discription of the PWR ext, I only see a "This powerup compares a Single Value Tile (SVT) to another SVT ?

Is this what you were referring to?

KR Henk

---

<div class="post-metadata">

**Author:** ![robert\_schausbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/robert_schausbe/32/13152_2.png) [@robert\_schausbe](https://community.dynatrace.com/u/robert_schausbe)\
**Post date:** [January 18, 2021, 8:04am UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202/5 "2021-01-18T08:04:03Z")

</div>

Hi Henk,

as already mentioned by [@Mike L.](https://answers.dynatrace.com/users/4119/view.html) we are currently working on a feature that will allow to perform basic arithmetic operations (+ - \* /) on top of existing metric (queries) , so the use case you mentioned above will be addressed by this.

The current plan is to release this feature in the second quarter of 2021

Best regards,

Robert

---

<div class="post-metadata">

**Author:** ![abhijitmhaske](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@abhijitmhaske](https://community.dynatrace.com/u/abhijitmhaske)\
**Post date:** [May 27, 2024, 6:31pm UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202/6 "2024-05-27T18:31:12Z")

</div>

Hi Mike,KR Henk,

Any Update on this ? I want to derive value from two related metrics. Two sequential services need to pass to say overall&nbsp; flow is passed.

Regards,

Abhijit

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [May 28, 2024, 6:13am UTC](https://community.dynatrace.com/t/creating-a-metric-that-is-a-combination-of-two-other-metrics/21202/7 "2024-05-28T06:13:51Z")

</div>

Hi,

Creating new metric like this is not possible at this time.

BUT\< in the data explorer you can use arithmetic expressions C=A/B or others.

So, you can display in Dashboard or use the&nbsp;arithmetic expression in Metric Event…
