<?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 Geoevent Field Calculator Processor SUM Function in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640537#M2837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a SUM function in the Field Calculator Processor ? I am trying to sum all the values in a field and write this to a new field. Which I then use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a plethora of functions in the Field Calculator Processor, but no SUM function. Is this actually the case&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 12:58:19 GMT</pubDate>
    <dc:creator>Dunn_Jeremy</dc:creator>
    <dc:date>2018-06-12T12:58:19Z</dc:date>
    <item>
      <title>Geoevent Field Calculator Processor SUM Function</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640537#M2837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a SUM function in the Field Calculator Processor ? I am trying to sum all the values in a field and write this to a new field. Which I then use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a plethora of functions in the Field Calculator Processor, but no SUM function. Is this actually the case&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 12:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640537#M2837</guid>
      <dc:creator>Dunn_Jeremy</dc:creator>
      <dc:date>2018-06-12T12:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Geoevent Field Calculator Processor SUM Function</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640538#M2838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can certainly sum values in fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://enterprise.arcgis.com/en/geoevent/latest/process-event-data/processors.htm" title="http://enterprise.arcgis.com/en/geoevent/latest/process-event-data/processors.htm"&gt;Processors—Real-time Data Feeds and Sensors (10.6) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 class="" style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; font-size: 1.414rem; margin: 0px 0px 1.55rem;"&gt;Operators and functions supported by Field Calculator&lt;/H4&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;TABLE style="background-color: #ffffff; border: 1px solid #cccccc; font-size: 0.875rem; margin-bottom: 1.55rem;"&gt;&lt;THEAD style="background-color: #efefef; border-bottom: 1px solid #cccccc; font-size: 1rem;"&gt;&lt;TR style="border-bottom: none;"&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Operation&lt;/TH&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Operator&lt;/TH&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Example&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY class=""&gt;&lt;TR class="" style="border-bottom: 1px solid #cccccc;"&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;PRE style="margin-bottom: 1.55rem;"&gt;&lt;CODE class="" style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;+&lt;/CODE&gt;&lt;/PRE&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;PRE style="margin-bottom: 1.55rem;"&gt;&lt;CODE class="" style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;Odom1 + Odom2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Expression adds the numeric values from the fields&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Odom1&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Odom2&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to produce a simple summation. String concatenation (for example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Hello" + "World"&lt;/SPAN&gt;) is also supported.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;If you have multiple values in one field, you can parse these out using regular expressions into separate fields.&amp;nbsp; You can then sum those values together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you post some sample data, I would be able to make a better recommendation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 13:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640538#M2838</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2018-06-12T13:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Geoevent Field Calculator Processor SUM Function</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640539#M2839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for getting back to me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had a field of values say&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Val&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you used the field calculator processor to sum these values are you suggesting to use the expression Val + Val + Val ? The issue is I won't know the number of values there are in the field until it is written so I need to be able to do something like SUM(Val) and write this to a new field Val_SUM. I then use this field. I'm surprised this function is not in the processor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 13:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640539#M2839</guid>
      <dc:creator>Dunn_Jeremy</dc:creator>
      <dc:date>2018-06-12T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Geoevent Field Calculator Processor SUM Function</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640540#M2840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm alittle unsure what you mean when you say "parse out" the values in the field. Are you suggesting to put each value in the field "Val" into seperate fields say "Val1", "Val2" , "Val3" etc...then use field calculator to add them ? This seems abit convoluted to me. Why can't you just Sum the values in a single field and write it to a new field ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:40:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-field-calculator-processor-sum-function/m-p/640540#M2840</guid>
      <dc:creator>Dunn_Jeremy</dc:creator>
      <dc:date>2018-06-13T09:40:14Z</dc:date>
    </item>
  </channel>
</rss>

