<?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 Adding additional values to a Sum Statistic in Reports in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-additional-values-to-a-sum-statistic-in/m-p/1345833#M52685</link>
    <description>&lt;P&gt;In my survey, I have multiple decimal fields.&amp;nbsp; &amp;nbsp;Some questions are conditional, such as funding_source, so they are left with null values when not answered. Other questions are calculated, such as total_funds, so they are left with 0 if nothing is entered.&lt;/P&gt;&lt;P&gt;In my summary report, I have been using the sum statistic for my entries and formatting them so I can have trailing zeroes as these are dollars:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${survey | stats: "sum,funding_source"| format:”#,##0.00”}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${survey | stats: "sum,total_funds"| format:”#,##0.00”}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The problem is that funding_source comes out as blank at the end of my tables if there are no entries, but total_funds come out 0.00 if there are no entries.&amp;nbsp; I would like it to be consistent.&amp;nbsp; I thought I could fudge it by adding 0 to the funding_source such as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${survey | stats: "sum,funding_source"+0| format:”#,##0.00”}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but that always gives me an error.&amp;nbsp; I've also tried putting parentheses around&amp;nbsp;&lt;STRONG&gt;"sum,funding_source"&amp;nbsp;&lt;/STRONG&gt;but that doesn't work, either.&amp;nbsp; Can you not add additional numbers to sum functions?&amp;nbsp; If not, how should I have the funding_source sum display as 0.00 instead of a blank?&amp;nbsp; Making the default 0 in Survey123 Connect doesn't work because it doesn't fill unless the question is answered.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 22:06:44 GMT</pubDate>
    <dc:creator>AbigailEbelherr</dc:creator>
    <dc:date>2023-11-03T22:06:44Z</dc:date>
    <item>
      <title>Adding additional values to a Sum Statistic in Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-additional-values-to-a-sum-statistic-in/m-p/1345833#M52685</link>
      <description>&lt;P&gt;In my survey, I have multiple decimal fields.&amp;nbsp; &amp;nbsp;Some questions are conditional, such as funding_source, so they are left with null values when not answered. Other questions are calculated, such as total_funds, so they are left with 0 if nothing is entered.&lt;/P&gt;&lt;P&gt;In my summary report, I have been using the sum statistic for my entries and formatting them so I can have trailing zeroes as these are dollars:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${survey | stats: "sum,funding_source"| format:”#,##0.00”}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${survey | stats: "sum,total_funds"| format:”#,##0.00”}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The problem is that funding_source comes out as blank at the end of my tables if there are no entries, but total_funds come out 0.00 if there are no entries.&amp;nbsp; I would like it to be consistent.&amp;nbsp; I thought I could fudge it by adding 0 to the funding_source such as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${survey | stats: "sum,funding_source"+0| format:”#,##0.00”}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but that always gives me an error.&amp;nbsp; I've also tried putting parentheses around&amp;nbsp;&lt;STRONG&gt;"sum,funding_source"&amp;nbsp;&lt;/STRONG&gt;but that doesn't work, either.&amp;nbsp; Can you not add additional numbers to sum functions?&amp;nbsp; If not, how should I have the funding_source sum display as 0.00 instead of a blank?&amp;nbsp; Making the default 0 in Survey123 Connect doesn't work because it doesn't fill unless the question is answered.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 22:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-additional-values-to-a-sum-statistic-in/m-p/1345833#M52685</guid>
      <dc:creator>AbigailEbelherr</dc:creator>
      <dc:date>2023-11-03T22:06:44Z</dc:date>
    </item>
  </channel>
</rss>

