<?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 sum row cell based on type? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597632#M48987</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I am trying to sum values based on type. I have a column of numbers and multivalues. I want to sum all the multivalues together and display the sum of all multivalues. How can I achieve this? Please refer to the diagram below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aahmad_0-1652370935056.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19613i7F39B18549CA500A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aahmad_0-1652370935056.png" alt="aahmad_0-1652370935056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see there are two column. One column displays the numbers and the other column displays the type of each cell. I want to get the sum of cell that have a multivalue type.&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 15:58:35 GMT</pubDate>
    <dc:creator>aahmad</dc:creator>
    <dc:date>2022-05-12T15:58:35Z</dc:date>
    <item>
      <title>How sum row cell based on type?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597632#M48987</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I am trying to sum values based on type. I have a column of numbers and multivalues. I want to sum all the multivalues together and display the sum of all multivalues. How can I achieve this? Please refer to the diagram below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aahmad_0-1652370935056.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19613i7F39B18549CA500A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aahmad_0-1652370935056.png" alt="aahmad_0-1652370935056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see there are two column. One column displays the numbers and the other column displays the type of each cell. I want to get the sum of cell that have a multivalue type.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 15:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597632#M48987</guid>
      <dc:creator>aahmad</dc:creator>
      <dc:date>2022-05-12T15:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How sum row cell based on type?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597636#M48988</link>
      <description>&lt;P&gt;Not clear whether you wanted the grand total for all numbers and the grand total for all multivalues or just the total for each event&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| streamstats count as row 
| stats sum(number) as total values(type) as type values(number) as number by row
| eventstats sum(number) as grandtotal by type&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 May 2022 16:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597636#M48988</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T16:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: How sum row cell based on type?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597661#M48989</link>
      <description>&lt;P&gt;Sorry for not clarifying. I want the total of each event. Forexample cell A has values, {2,5,6,7}. I want the total of the values in that cell. So the answer would be 20. Does that make sense?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 17:12:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597661#M48989</guid>
      <dc:creator>aahmad</dc:creator>
      <dc:date>2022-05-12T17:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: How sum row cell based on type?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597666#M48990</link>
      <description>&lt;LI-CODE lang="markup"&gt;| streamstats count as row 
| stats sum(number) as total values(type) as type values(number) as number by row&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 May 2022 17:29:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-sum-row-cell-based-on-type/m-p/597666#M48990</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T17:29:44Z</dc:date>
    </item>
  </channel>
</rss>

