<?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: Sum Subtotals fields to get a total field error in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1099707#M37300</link>
    <description>&lt;P&gt;Hey &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421" target="_self"&gt;&lt;SPAN class=""&gt;DougBrowning&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;great tip. Where did you find that syntax?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Sep 2021 22:20:11 GMT</pubDate>
    <dc:creator>DavidRichey</dc:creator>
    <dc:date>2021-09-19T22:20:11Z</dc:date>
    <item>
      <title>Sum Subtotals fields to get a total field error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1084187#M36188</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have one question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a survey with connect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some questions where i collect quantity, then those fields i multiply for cost in dollars&lt;/P&gt;&lt;P&gt;for example i have 3 cars then i multiply that for 500 dlls so my sub total is 1500&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiegoLlamasOlivares_0-1627588386028.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19714i7C1F2D4AC993E1EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiegoLlamasOlivares_0-1627588386028.png" alt="DiegoLlamasOlivares_0-1627588386028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then to calculate a total y sum all subtotals name fields as&amp;nbsp;${a21_003}+${a21_002}+${a21_001}+${a20_007}+${a20_006}+${a20_005}+${a20_004}+${a20_003}+${a20_002}+${a20_001}+${a1_001}+${a1_0001}+${a2_001}+... for the 32 records.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have some issue. If some of my sub total field is empty my total do not work, it appear empty. so, i thought that if I put a default value it would take it as not empty but in my survey my field are empty and not with 0 as should be the default value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiegoLlamasOlivares_1-1627588687906.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19716i0B3B45A88D813FDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiegoLlamasOlivares_1-1627588687906.png" alt="DiegoLlamasOlivares_1-1627588687906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;as you can see, my subtotal works fine but my total never works because when we collect data we do not have all of those debris to collect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is how can I solve this issue, because i need to create a report with a total cost but i am not able to generate the total field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Diego Llamas&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 20:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1084187#M36188</guid>
      <dc:creator>DiegoLlamasOlivares</dc:creator>
      <dc:date>2021-07-29T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Subtotals fields to get a total field error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1085751#M36305</link>
      <description>&lt;P&gt;Check out&amp;nbsp;coalesce function for this.&lt;/P&gt;&lt;P&gt;coalesce(value1, value2)&amp;nbsp; &amp;nbsp;Returns the first nonempty value. Supports only two values.&lt;/P&gt;&lt;P&gt;Use it like coalesce(${a21_003},0)&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 15:39:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1085751#M36305</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-08-04T15:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Subtotals fields to get a total field error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1099707#M37300</link>
      <description>&lt;P&gt;Hey &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421" target="_self"&gt;&lt;SPAN class=""&gt;DougBrowning&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;great tip. Where did you find that syntax?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Sep 2021 22:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1099707#M37300</guid>
      <dc:creator>DavidRichey</dc:creator>
      <dc:date>2021-09-19T22:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Subtotals fields to get a total field error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1099877#M37318</link>
      <description>&lt;P&gt;Bookmark this page it has it all&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 13:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-subtotals-fields-to-get-a-total-field-error/m-p/1099877#M37318</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-09-20T13:37:46Z</dc:date>
    </item>
  </channel>
</rss>

