<?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 How to calculate Percentage and Percent difference week by week? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-calculate-Percentage-and-Percent-difference-week-by-week/m-p/607961#M105515</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;
&lt;P&gt;I am stuck on a problem where i have to calculate percentage and Percent Difference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 3 columns, for example --&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name |&amp;nbsp; Errorcode |&amp;nbsp; Result&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;324&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;5&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; 999 |&amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; Total |&amp;nbsp; &amp;nbsp; 6&lt;/P&gt;
&lt;P&gt;I want the output to look like this --&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name |&amp;nbsp; Errorcode |&amp;nbsp; Result |&amp;nbsp;Percent of Total |&amp;nbsp; Percent Difference ( week over week)&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;324&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;5 |&amp;nbsp; &amp;nbsp; &amp;nbsp;83.33 | 25&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; 999 |&amp;nbsp; &amp;nbsp;1 | 16.67 |&amp;nbsp; 100&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; Total |&amp;nbsp; &amp;nbsp; 6 | 100 |&amp;nbsp; 100&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for Percent Difference (week over week) should look at the errors for that Name from the prior week and understanding the percent difference to this week.&amp;nbsp; Example, if there were 3 1027 errorcodes last week and 6 1027 errors this week the percent difference would be 100%.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 19:53:23 GMT</pubDate>
    <dc:creator>wanda619</dc:creator>
    <dc:date>2022-08-02T19:53:23Z</dc:date>
    <item>
      <title>How to calculate Percentage and Percent difference week by week?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-calculate-Percentage-and-Percent-difference-week-by-week/m-p/607961#M105515</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;
&lt;P&gt;I am stuck on a problem where i have to calculate percentage and Percent Difference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 3 columns, for example --&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name |&amp;nbsp; Errorcode |&amp;nbsp; Result&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;324&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;5&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; 999 |&amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; Total |&amp;nbsp; &amp;nbsp; 6&lt;/P&gt;
&lt;P&gt;I want the output to look like this --&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name |&amp;nbsp; Errorcode |&amp;nbsp; Result |&amp;nbsp;Percent of Total |&amp;nbsp; Percent Difference ( week over week)&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;324&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;5 |&amp;nbsp; &amp;nbsp; &amp;nbsp;83.33 | 25&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; 999 |&amp;nbsp; &amp;nbsp;1 | 16.67 |&amp;nbsp; 100&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; Total |&amp;nbsp; &amp;nbsp; 6 | 100 |&amp;nbsp; 100&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for Percent Difference (week over week) should look at the errors for that Name from the prior week and understanding the percent difference to this week.&amp;nbsp; Example, if there were 3 1027 errorcodes last week and 6 1027 errors this week the percent difference would be 100%.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 19:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-calculate-Percentage-and-Percent-difference-week-by-week/m-p/607961#M105515</guid>
      <dc:creator>wanda619</dc:creator>
      <dc:date>2022-08-02T19:53:23Z</dc:date>
    </item>
  </channel>
</rss>

