<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculating new metric from existing metrics in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Calculating-new-metric-from-existing-metrics/m-p/211822#M26185</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/12762"&gt;@mariusz_cwiklin&lt;/a&gt;&amp;nbsp;As you indicate, it is possible to do operations between metrics and obtain the ones you are looking for in the Data Explorer editor, but AFAIK it is not possible to create a metric from metrics.&lt;/P&gt;&lt;P&gt;Metric expressions enable you to apply simple arithmetic operations on operands (metrics or numbers).&lt;/P&gt;&lt;P&gt;For example, this expression calculates the ratio (as a percentage) of two metrics:&lt;BR /&gt;((metric1)/(metric2))*(100)&lt;/P&gt;&lt;P&gt;Building on the example above, we have the following basic components to work with:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Operand: a metric or number&lt;/LI&gt;&lt;LI&gt;Parentheses: ()&lt;/LI&gt;&lt;LI&gt;Arithmetic operators: +, -, *, /&lt;/LI&gt;&lt;LI&gt;Negation: -()&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 10 May 2023 17:47:37 GMT</pubDate>
    <dc:creator>DanielS</dc:creator>
    <dc:date>2023-05-10T17:47:37Z</dc:date>
    <item>
      <title>Calculating new metric from existing metrics</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Calculating-new-metric-from-existing-metrics/m-p/211780#M26178</link>
      <description>&lt;P&gt;In Dynatrace we have Temperature metrics per each device. There are multiple devices in one room and the room is a metric dimension.&lt;BR /&gt;I'm able to create a query in Data Explorer to show the average temperature per room.&lt;/P&gt;
&lt;P&gt;How can I create a new metric called room_average based on a query from Data Explorer in Dynatrace?&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 12:08:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Calculating-new-metric-from-existing-metrics/m-p/211780#M26178</guid>
      <dc:creator>mariusz_cwiklin</dc:creator>
      <dc:date>2023-05-10T12:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating new metric from existing metrics</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Calculating-new-metric-from-existing-metrics/m-p/211822#M26185</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/12762"&gt;@mariusz_cwiklin&lt;/a&gt;&amp;nbsp;As you indicate, it is possible to do operations between metrics and obtain the ones you are looking for in the Data Explorer editor, but AFAIK it is not possible to create a metric from metrics.&lt;/P&gt;&lt;P&gt;Metric expressions enable you to apply simple arithmetic operations on operands (metrics or numbers).&lt;/P&gt;&lt;P&gt;For example, this expression calculates the ratio (as a percentage) of two metrics:&lt;BR /&gt;((metric1)/(metric2))*(100)&lt;/P&gt;&lt;P&gt;Building on the example above, we have the following basic components to work with:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Operand: a metric or number&lt;/LI&gt;&lt;LI&gt;Parentheses: ()&lt;/LI&gt;&lt;LI&gt;Arithmetic operators: +, -, *, /&lt;/LI&gt;&lt;LI&gt;Negation: -()&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 10 May 2023 17:47:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Calculating-new-metric-from-existing-metrics/m-p/211822#M26185</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2023-05-10T17:47:37Z</dc:date>
    </item>
  </channel>
</rss>

