<?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 Summary report aggregate function result not honoring selected records on export in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/summary-report-aggregate-function-result-not/m-p/1328341#M51708</link>
    <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing a summary report and running into an issue. After re-reading the &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-summary-sections-in/ba-p/898502" target="_self"&gt;tricks of the trade blog&lt;/A&gt; about summary reports, I am confused about the behavior I am experiencing. It seems as if filtering and aggregate functions within a summary report should honor the selected records from the Survey123 website when generating a report, unless the !important parameter is used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far, most of my summary report is working properly and returning what I'd expect. I have a table w/ aggregate functions that is returning responses based on the entire hosted feature layer instead of on the selection made in the Survey123 website.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am wondering if this is expected behavior, or if I have done something wrong with my syntax.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here is the summary section causing issues (full template attached):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_0-1694620159741.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80612i2C5DB08D69BA90B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_0-1694620159741.png" alt="erica_poisson_0-1694620159741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;** Update:&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;The problem appears to be an issue in multiple sections of the template - namely "Inspection Conditions" and the last section "Details...". In both instances, the counts returned are for &lt;STRONG&gt;all&lt;/STRONG&gt; records for each CGP File Number, instead of only the remaining records after Filtering and selections are made on the Survey123 website.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Survey123 website, I have &lt;STRONG&gt;9&lt;/STRONG&gt; parent records selected; I've checked and all repeat records have been properly filtered based on the selection. When I generate a preview report, instead of getting the above information for each of the 9 selected records, I get it for every CGP File Number in the hosted feature layer if the 'where' clause has been met.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_1-1694620269672.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80613i0D4A7D20D3AFC6AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_1-1694620269672.png" alt="erica_poisson_1-1694620269672.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide advice on why this is? Is this expected behavior?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the Filters applied on the Survey123 website:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_0-1694631516721.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80636iDF4F7AE711C33CA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_0-1694631516721.png" alt="erica_poisson_0-1694631516721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This narrows me down to 195 Site Visit Inspections that meet this criteria (and are associated with the 9 parent files), however the total number of Site Visit Inspections for these 9 parent files is being included in the report (673).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 19:00:36 GMT</pubDate>
    <dc:creator>erica_poisson</dc:creator>
    <dc:date>2023-09-13T19:00:36Z</dc:date>
    <item>
      <title>Summary report aggregate function result not honoring selected records on export</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/summary-report-aggregate-function-result-not/m-p/1328341#M51708</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing a summary report and running into an issue. After re-reading the &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-summary-sections-in/ba-p/898502" target="_self"&gt;tricks of the trade blog&lt;/A&gt; about summary reports, I am confused about the behavior I am experiencing. It seems as if filtering and aggregate functions within a summary report should honor the selected records from the Survey123 website when generating a report, unless the !important parameter is used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far, most of my summary report is working properly and returning what I'd expect. I have a table w/ aggregate functions that is returning responses based on the entire hosted feature layer instead of on the selection made in the Survey123 website.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am wondering if this is expected behavior, or if I have done something wrong with my syntax.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here is the summary section causing issues (full template attached):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_0-1694620159741.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80612i2C5DB08D69BA90B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_0-1694620159741.png" alt="erica_poisson_0-1694620159741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;** Update:&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;The problem appears to be an issue in multiple sections of the template - namely "Inspection Conditions" and the last section "Details...". In both instances, the counts returned are for &lt;STRONG&gt;all&lt;/STRONG&gt; records for each CGP File Number, instead of only the remaining records after Filtering and selections are made on the Survey123 website.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Survey123 website, I have &lt;STRONG&gt;9&lt;/STRONG&gt; parent records selected; I've checked and all repeat records have been properly filtered based on the selection. When I generate a preview report, instead of getting the above information for each of the 9 selected records, I get it for every CGP File Number in the hosted feature layer if the 'where' clause has been met.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_1-1694620269672.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80613i0D4A7D20D3AFC6AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_1-1694620269672.png" alt="erica_poisson_1-1694620269672.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide advice on why this is? Is this expected behavior?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the Filters applied on the Survey123 website:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_0-1694631516721.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80636iDF4F7AE711C33CA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_0-1694631516721.png" alt="erica_poisson_0-1694631516721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This narrows me down to 195 Site Visit Inspections that meet this criteria (and are associated with the 9 parent files), however the total number of Site Visit Inspections for these 9 parent files is being included in the report (673).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 19:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/summary-report-aggregate-function-result-not/m-p/1328341#M51708</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2023-09-13T19:00:36Z</dc:date>
    </item>
  </channel>
</rss>

