<?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: Metric expressions in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252984#M4157</link>
    <description>&lt;P&gt;The problem here is the splitBy(step). Since the dimensions values are different the calculation will not works. You will need to make it splitBy(), empty, or use other dimension that match on both results.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 18:59:09 GMT</pubDate>
    <dc:creator>dannemca</dc:creator>
    <dc:date>2024-08-08T18:59:09Z</dc:date>
    <item>
      <title>Metric expressions</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252604#M4147</link>
      <description>&lt;P&gt;Hello expert,&lt;/P&gt;
&lt;P&gt;I'm trying to do a calculation between 2 metrics, but without success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the following is the expression without a calculation:&lt;/P&gt;
&lt;P&gt;core.daemon.user.authentication.count:filter(and(or(eq(step,finish),eq(step,start)))):splitBy(step):sum:sort(value(sum,descending)):limit(20)&lt;/P&gt;
&lt;P&gt;I need to calculate step:start- step:finish&lt;/P&gt;
&lt;P&gt;Is it possible to dio that?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Luciana&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 12:06:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252604#M4147</guid>
      <dc:creator>Lucybellonikeyl</dc:creator>
      <dc:date>2024-08-20T12:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Metric expressions</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252971#M4155</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79086"&gt;@Lucybellonikeyl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;core.daemon.user.authentication.count:filter(and(or(eq(step,start)))):splitBy():sum:sort(value(sum,descending)):limit(20) - core.daemon.user.authentication.count:filter(and(or(eq(step,finish)))):splitBy():sum:sort(value(sum,descending)):limit(20)&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 17:09:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252971#M4155</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2024-08-08T17:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Metric expressions</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252980#M4156</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You should be able to do so with a simple subtraction expression. Try something like...&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;core.daemon.user.authentication.count:filter(and(or(eq(step,start)))):splitBy(step)&lt;BR /&gt;+&lt;BR /&gt;core.daemon.user.authentication.count:filter(and(or(eq(step,finish)))):splitBy(step)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Here's a &lt;A href="https://docs.dynatrace.com/docs/shortlink/explorer-advanced-query-editor#expressions" target="_self"&gt;link&lt;/A&gt; to the docs.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 18:30:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252980#M4156</guid>
      <dc:creator>Cameron-Leong</dc:creator>
      <dc:date>2024-08-08T18:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Metric expressions</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252984#M4157</link>
      <description>&lt;P&gt;The problem here is the splitBy(step). Since the dimensions values are different the calculation will not works. You will need to make it splitBy(), empty, or use other dimension that match on both results.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 18:59:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Metric-expressions/m-p/252984#M4157</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2024-08-08T18:59:09Z</dc:date>
    </item>
  </channel>
</rss>

