<?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: Feature Reports in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824490#M16632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a closer look, I had applied a Date Filter within Survey123 that was hindering the queries in the template:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/504501_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Once I removed the date filters and re-ran the report, the numbers match up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2020 21:12:50 GMT</pubDate>
    <dc:creator>BenBaker1</dc:creator>
    <dc:date>2020-08-25T21:12:50Z</dc:date>
    <item>
      <title>Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824484#M16626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have been playing around with the new Summary Feature Reports.&amp;nbsp; Based on the documentation you can apply filters.&amp;nbsp; Can this be done on all data fields in a feature report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;${Inspections_June_2020|where:"1=1 !important"}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 12:10:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824484#M16626</guid>
      <dc:creator>JohnLucotch2</dc:creator>
      <dc:date>2020-08-10T12:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824485#M16627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/19151"&gt;John Lucotch&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Correct, you can use fields from your survey to perform the queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;From the help at &lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereportqueries.htm" title="https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereportqueries.htm"&gt;Feature report queries—ArcGIS Survey123 | Documentation&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;where&lt;/SPAN&gt;—A where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed. For example, &lt;SPAN class=""&gt;where:"weather='sunny'"&lt;/SPAN&gt; will cause the filter to only use responses where the &lt;SPAN class=""&gt;weather&lt;/SPAN&gt; field is exactly the value &lt;SPAN class=""&gt;sunny&lt;/SPAN&gt;. if where is used with other filters, they should be implemented in the order &lt;SPAN class=""&gt;where&lt;/SPAN&gt;, &lt;SPAN class=""&gt;stats&lt;/SPAN&gt;, &lt;SPAN class=""&gt;orderByFields&lt;/SPAN&gt;, &lt;SPAN class=""&gt;resultRecordCount&lt;/SPAN&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;!important&lt;/SPAN&gt;—This qualifier can be added to any filter but &lt;SPAN class=""&gt;resultRecordCount&lt;/SPAN&gt; to override any constraints on the values that the filter returns. For example, if you were printing reports from only the last seven days, &lt;SPAN class=""&gt;where:"weather='sunny' !important"&lt;/SPAN&gt; would cause the filter to only use responses where the &lt;SPAN class=""&gt;weather&lt;/SPAN&gt; field is exactly the value &lt;SPAN class=""&gt;sunny&lt;/SPAN&gt;, but pulls from all applicable responses in the feature layer, rather than just the responses selected to be printed.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example showing how you can use fields from your survey in the queries.&amp;nbsp; Look at the queries to define the contents of the red and green tables.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/502871_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824485#M16627</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2020-08-10T15:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824486#M16628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much is this great.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 20:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824486#M16628</guid>
      <dc:creator>JohnLucotch2</dc:creator>
      <dc:date>2020-08-12T20:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824487#M16629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a really helpful feature for reporting workflows that require a "hard copy" medium in addition to a Dashboard!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3966"&gt;Ismael Chivite&lt;/A&gt;‌, I'm having a couple issues formatting the queries in my Summary Report Template. The first one&amp;nbsp;is formatted like others that works, so I don't understand why it's failing. The other is related to filtering by dates. I'm not clear on the proper syntax to achieve what I'm wanting to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, this&amp;nbsp;query if producing the following error when I try to create a sample report.&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; background: yellow; font-size: 10.0pt; "&gt;${FireInspections_pts |where:“ActionTaken= ‘approved’ !important”|stats:"count,OBJECTID"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/504465_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, I'm trying to populate a table showing a total of each inspection type by Month. I have the query working to summarize total inspections by type, but I have not been able to get an expression to work that will parse the counts by a specified date range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Total" (far right)&amp;nbsp;query is:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;${FireInspections_pts|where:“InspType=100 !important”| stats: “count,OBJECTID”}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/504467_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;P&gt;I've tried including date ranges for the January cell, but the syntax does not seem to be correct:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG style="color: #0000ff; font-size: 13px; "&gt;${FireInspections_pts|where:“ReceivedDt = BETWEEN DATE ‘2020-01-01 00:00:00’ AND DATE ‘2020-01-31 00:00:00’”| stats: “count,OBJECTID”}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG height="107" src="https://community.esri.com/legacyfs/online/504466_pastedImage_6.png" width="889" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing with these two queries?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:26:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824487#M16629</guid>
      <dc:creator>BenBaker1</dc:creator>
      <dc:date>2020-08-25T16:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824488#M16630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1: &lt;/STRONG&gt;I pasted your instruction in notepad and found that you are using cursive quotes. Can you try making them all straight quotes?&amp;nbsp; Microsoft Word tends to insert cursive quotes and this can create syntax validation errors. Use&amp;nbsp;" and&amp;nbsp; instead of “. Same for single quotes. Use ' instead of ’.&amp;nbsp; Lets see if that resolves the problem.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2&lt;/STRONG&gt;: I also see cursive quotes. Can you try changing them to straight?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824488#M16630</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2020-08-25T17:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824489#M16631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That resolved the issue on the first and part of the second items. I had been dumping a new row into a tab by month of an Excel file using Integromat, then had a set of formulas that was summarizing each month into a table. I'm trying to recreate that table in a summary report that I can send to administrators once a month. Here's the query I'm using:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 13px; color: #3366ff;"&gt;${FireInspections_pts|where:"InspType=100 AND ReceivedDt BETWEEN DATE '2020-01-01 00:00:00' AND DATE '2020-02-01 05:00:00'"|stats:"count,OBJECTID"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;The InspType field is a coded domain (select_one in S123) and 100 corresponds to "Annual".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;I tried Jan - March, which should show these numbers:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/504469_pastedImage_5.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Instead, I'm getting this in the feature report:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;IMG class="image-2 jive-image" height="31" src="https://community.esri.com/legacyfs/online/504500_pastedImage_6.png" width="316" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;When I filter the data in Survey 123, I get the the same (14), but when I look at the feature layer, there are 19 inspections. So, now I am not sure 1)how I should be filtering the data to include all results and 2) why the same formula with dates changes for February and March are just showing 0s.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 20:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824489#M16631</guid>
      <dc:creator>BenBaker1</dc:creator>
      <dc:date>2020-08-25T20:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824490#M16632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a closer look, I had applied a Date Filter within Survey123 that was hindering the queries in the template:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/504501_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Once I removed the date filters and re-ran the report, the numbers match up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 21:12:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/824490#M16632</guid>
      <dc:creator>BenBaker1</dc:creator>
      <dc:date>2020-08-25T21:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/1055397#M34413</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp; In the summary is there syntax to summarize by the current date?&amp;nbsp; I can't find any syntax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 19:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/1055397#M34413</guid>
      <dc:creator>JohnLucotch2</dc:creator>
      <dc:date>2021-05-06T19:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Reports</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/1081565#M36056</link>
      <description>&lt;P&gt;Instead of a summary report, is there a way to use a WHERE clause for individual feature reports? I know that there is the "Filter" capabilities when setting up the data for reports, but we have several criteria that need to be met in order for a response to be included in a specific report. We have to report on both "All" of the features from a specific timeframe or attribute, as well as a specific sub-set of those "All" features that need to meet certain criteria based on the responses.&lt;/P&gt;&lt;P&gt;Since we cannot use images in summary reports, I have no way other than having to keep adding all of the criteria to the "Filter" section of the Survey123 Manage site each time I want to pull that specific sub-set of records. Have you come across scenario's like this? Is there a way to use WHERE clauses in individual feature reports?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 21:53:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-reports/m-p/1081565#M36056</guid>
      <dc:creator>RandyWeaver</dc:creator>
      <dc:date>2021-07-21T21:53:04Z</dc:date>
    </item>
  </channel>
</rss>

