<?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: How to use Survey123 Summary Reports for Monthly Inspection Report in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-use-survey123-summary-reports-for-monthly/m-p/1014830#M31816</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/165412"&gt;@BarbaraWebster1&lt;/a&gt;&amp;nbsp;Thanks! I finally figured it out, but I actually posted another questions relating to this, maybe you could help with that one too!&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-survey123-summary-report-syntax-for-dates/m-p/1014809" target="_blank"&gt;Need Help With Survey123 Summary Report Syntax for... - GeoNet, The Esri Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2021 20:17:47 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-01-07T20:17:47Z</dc:date>
    <item>
      <title>How to use Survey123 Summary Reports for Monthly Inspection Report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-use-survey123-summary-reports-for-monthly/m-p/1014281#M31787</link>
      <description>&lt;P&gt;Short Question: How do I get a sum of values for a question for each uniquely named pump station in a summary report? (see further explanation below)&lt;/P&gt;&lt;P&gt;I've developed a workflow for my client to do Pump Station inspections using Survey123.&amp;nbsp; They can do as many inspections per pump station as they want in a given month.&amp;nbsp; Each month they compile the inspection data in a monthly report (See the attachment, "PumpStation-MonthlyReport")&amp;nbsp; The report compiles the monthly inspection data for each pump station and provides a sum of the values collected for the specified date range (the date range is chosen when running the report in Survey123)&lt;/P&gt;&lt;P&gt;To recreate this report in Survey123 using the Survey123 inspection data, it seems I need to create a summary report. But I'm struggling with the syntax especially when there are multiple inspections for one pump station in a month.&amp;nbsp; Using online forums etc.&amp;nbsp; I was able to get the correct syntax to only show the unique pump station names, but I'm unsure what syntax I should be using to say, for example, "sum all the pump 1 run hours for each unique pump station name."&lt;/P&gt;&lt;P&gt;I've attached my working copy for the template.&amp;nbsp; Once I get the syntax correct, I'll populate the table but until then, I'm working out the syntax below.&amp;nbsp; Again, I was able to get the Pump Station name to show only the unique names and to not duplicate the names when there are more than one inspections done on a pump station.&amp;nbsp; But I can't figure out to sum each question for each pump station.&lt;/P&gt;&lt;P&gt;I also attached the Survey123 combination template for reference.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 15:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-use-survey123-summary-reports-for-monthly/m-p/1014281#M31787</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-01-06T15:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Survey123 Summary Reports for Monthly Inspection Report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-use-survey123-summary-reports-for-monthly/m-p/1014818#M31814</link>
      <description>&lt;P&gt;Hi Katie,&lt;BR /&gt;&lt;BR /&gt;If you set up a stats filter with the &lt;EM&gt;groupByFieldsForStatistics&lt;/EM&gt; parameter set to the pump station name, you can also create an &lt;EM&gt;outStatisticsFieldName&lt;/EM&gt; parameter in the &lt;EM&gt;outStatistics&lt;/EM&gt; parameter to hold the sum for each unique pump number. The field name will act as a variable that you can use elsewhere within the summary report.&lt;BR /&gt;&lt;BR /&gt;This is how it would look if you wanted to list the sum for each unique pump number in a table (the &lt;EM&gt;outStatisticsFieldName&lt;/EM&gt; is shown in blue, after the &lt;EM&gt;onStatisticsField&lt;/EM&gt; parameter):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="444"&gt;&lt;P&gt;&lt;STRONG&gt;Station No.&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="180"&gt;&lt;P&gt;&lt;STRONG&gt;Pump #1 Total Run Hours&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="444"&gt;&lt;P&gt;${#PumpStationLogs | stats:"sum, P1_RNHrs, &lt;FONT color="#0000FF"&gt;P1_RNHrs_sum&lt;/FONT&gt;":"PSNAME"} ${PSNAME}&lt;/P&gt;&lt;/TD&gt;&lt;TD width="180"&gt;&lt;P&gt;${&lt;FONT color="#0000FF"&gt;P1_RNHrs_sum&lt;/FONT&gt;}${/}&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may have already seen it, but there is additional information on this in the Aggregate Functions section of the &lt;A href="https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereportqueries.htm" target="_self"&gt;Survey123 Report Queries documentation&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;-Barbara&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 20:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-use-survey123-summary-reports-for-monthly/m-p/1014818#M31814</guid>
      <dc:creator>BarbaraWebster1</dc:creator>
      <dc:date>2021-01-07T20:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Survey123 Summary Reports for Monthly Inspection Report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-use-survey123-summary-reports-for-monthly/m-p/1014830#M31816</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/165412"&gt;@BarbaraWebster1&lt;/a&gt;&amp;nbsp;Thanks! I finally figured it out, but I actually posted another questions relating to this, maybe you could help with that one too!&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-survey123-summary-report-syntax-for-dates/m-p/1014809" target="_blank"&gt;Need Help With Survey123 Summary Report Syntax for... - GeoNet, The Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 20:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-use-survey123-summary-reports-for-monthly/m-p/1014830#M31816</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-01-07T20:17:47Z</dc:date>
    </item>
  </channel>
</rss>

