<?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 Big Data Analytic - Summarize by Year or Quarter etc in ArcGIS Velocity Questions</title>
    <link>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1479888#M372</link>
    <description>&lt;P&gt;I have a big data analytic that is summarizing statistics for a real-time data feed database where data in the database is from 2020-current. I'd like to summarize the data by year, quarter, etc so eventually it would run every week or something. However, I can't seem to figure out how to do that. Summarize within doesn't seem to have a "summarize by" distinct values. When I run it - I just get one row of data for all the years. Any suggestions? Is this possible in ArcGIS Velocity? Looks like the Summary fields type of (Any) option just pushes a random entry through.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teresa_Blader_1-1716938375094.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105586i61E03E26429FF360/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teresa_Blader_1-1716938375094.png" alt="Teresa_Blader_1-1716938375094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teresa_Blader_0-1716938319368.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105585iD7E29001C380673A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teresa_Blader_0-1716938319368.png" alt="Teresa_Blader_0-1716938319368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2024 23:27:35 GMT</pubDate>
    <dc:creator>Teresa_Blader</dc:creator>
    <dc:date>2024-05-28T23:27:35Z</dc:date>
    <item>
      <title>Big Data Analytic - Summarize by Year or Quarter etc</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1479888#M372</link>
      <description>&lt;P&gt;I have a big data analytic that is summarizing statistics for a real-time data feed database where data in the database is from 2020-current. I'd like to summarize the data by year, quarter, etc so eventually it would run every week or something. However, I can't seem to figure out how to do that. Summarize within doesn't seem to have a "summarize by" distinct values. When I run it - I just get one row of data for all the years. Any suggestions? Is this possible in ArcGIS Velocity? Looks like the Summary fields type of (Any) option just pushes a random entry through.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teresa_Blader_1-1716938375094.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105586i61E03E26429FF360/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teresa_Blader_1-1716938375094.png" alt="Teresa_Blader_1-1716938375094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teresa_Blader_0-1716938319368.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105585iD7E29001C380673A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teresa_Blader_0-1716938319368.png" alt="Teresa_Blader_0-1716938319368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 23:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1479888#M372</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2024-05-28T23:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Big Data Analytic - Summarize by Year or Quarter etc</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1484209#M377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/425496"&gt;@Teresa_Blader&lt;/a&gt;&amp;nbsp;is your goal to do a spatial summary by year (multiple counties, different results for each county)? Or are you just trying to do summary analysis on attributes based on time like year.&lt;/P&gt;&lt;P&gt;If the latter, from what I can see, I might propose the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add a Calculate Fields tool to calculate fields such as "Year" and "Year_Quarter" like "2024" and "2024-Q1" values&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/date_functions/#year" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/date_functions/#year&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Now that your feature schema has attribute values to reflect Year or other date value, you can proceed&lt;/LI&gt;&lt;LI&gt;Add a "Summarize Attributes" tool&lt;/LI&gt;&lt;LI&gt;You would set the Group fields value to a field like "Year" or "Year_Quarter"&lt;UL&gt;&lt;LI&gt;Configure your desired summary fields for statistical analysis&lt;/LI&gt;&lt;LI&gt;Now, with a group field of year, the summary fields you configure will be calculated for each unique value present within the group fields&lt;UL&gt;&lt;LI&gt;2020, 2021, 2022, 2023, 2024, etc.&lt;/LI&gt;&lt;LI&gt;If there were 5 years of data, there would be 5 records coming out of the Summarize Attributes tool&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The Summarize Within tool is used to summarize and calculate attribute values of the records that fall within various spatial boundaries.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 12:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1484209#M377</guid>
      <dc:creator>PeterNasuti</dc:creator>
      <dc:date>2024-06-04T12:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Big Data Analytic - Summarize by Year or Quarter etc</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1484430#M378</link>
      <description>&lt;P&gt;Both, but just for one county - so it still is associated to a county boundary polygon, but I am trying to summarize by the year and quarter.... I suppose I could just do tabular data though. Probably why I didn't try the summarize attributes tool! I'll give that a try.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 15:06:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1484430#M378</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2024-06-04T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Big Data Analytic - Summarize by Year or Quarter etc</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1484573#M379</link>
      <description>&lt;P&gt;Thanks!! That seemed to get me where I needed to be, just had to add the geometry with Map Fields which worked since each area is for the same location.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teresa_Blader_0-1717520946540.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106143i21ADAFDF554E9EA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teresa_Blader_0-1717520946540.png" alt="Teresa_Blader_0-1717520946540.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 17:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1484573#M379</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2024-06-04T17:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Big Data Analytic - Summarize by Year or Quarter etc</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1485773#M380</link>
      <description>&lt;P&gt;Now that I got this working, just wanted to share the dashboard I made using this workflow - instead of using the feed data which would have exposed public health information like name, date of birth, and address - I am able to summarize the data at the county level by year, quarter, and week which is shared with the public &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.arcgis.com/apps/dashboards/5f94573ed8da4cb5a07ec3c01907fb24" target="_blank"&gt;https://www.arcgis.com/apps/dashboards/5f94573ed8da4cb5a07ec3c01907fb24&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things I learned:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Categorical Data is kind of painful to summarize from the feed, but with arcade and the iff function I made it through. Each record essentially got a 1 if it contained this category or 0 if it didn't. So a new field for each category I summarized.&lt;/P&gt;&lt;P&gt;2. I originally created a view off of the final output in AGOL, and had that connected to the dashboard, however the view quickly breaks if you are replacing the features and the schema when it runs and do any changes to the database, like adding more category fields. I would do that differently, but can't seem to change that setting after Velocity has created that new output feature layer... assuming that the other settings wouldn't cause the view to break.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 02:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/big-data-analytic-summarize-by-year-or-quarter-etc/m-p/1485773#M380</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2024-06-06T02:13:33Z</dc:date>
    </item>
  </channel>
</rss>

