<?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: Group By Expression in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318727#M8313</link>
    <description>&lt;P&gt;Great! What was your solution?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 15:36:11 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2023-08-15T15:36:11Z</dc:date>
    <item>
      <title>Group By Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318395#M8299</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use a table and by species display totals for Alive, Injured and Dead animals. I am trying to use an expression and return a featureset that displays the totals for each of the mentioned but can't get it right. The field i have as the Data populated as 'AOR', "DOR' and 'IOR'. How can i sum these by value and display them in the correct column? So for each species I need to know how many were alive, dead and injured for the entire dataset.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 16:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318395#M8299</guid>
      <dc:creator>Cheetah24</dc:creator>
      <dc:date>2023-08-14T16:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318435#M8301</link>
      <description>&lt;P&gt;I use the GroupBy expression like this to get the counts of each attribute in a field (Habitat).&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var totalHabitat = GroupBy(fs, 'HABITAT', { name: 'HabTypes', expression: '1', statistic: 'COUNT' });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me this table by setting the Category field to "Habitat" and getting the sum of the "HabTypes" field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table1.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78052iF14A7FD6FABD3662/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table1.png" alt="table1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 18:47:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318435#M8301</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-08-14T18:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318463#M8303</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I had tried something similar but it just counts the number of rows. It doesn't seem to care what value is in my "Alive" field.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 19:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318463#M8303</guid>
      <dc:creator>Cheetah24</dc:creator>
      <dc:date>2023-08-14T19:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318474#M8304</link>
      <description>&lt;P&gt;How is your data formatted? Do you have individual fields for each category showing how many animals are in that category? Your initial description sounded like there was one field showing if it's alive, injured, or dead.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 20:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318474#M8304</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-08-14T20:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318527#M8308</link>
      <description>&lt;P&gt;So it would be something like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;Bullfrog&lt;/TD&gt;&lt;TD width="50%" height="24px"&gt;AOR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;Mink&lt;/TD&gt;&lt;TD width="50%" height="24px"&gt;DOR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;Bullfrog&lt;/TD&gt;&lt;TD width="50%" height="24px"&gt;DOR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="24px"&gt;Crow&lt;/TD&gt;&lt;TD width="50%" height="24px"&gt;DOR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And what I would like to see in a table is&lt;/P&gt;&lt;TABLE border="1" width="97.71366520521742%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Species&lt;/TD&gt;&lt;TD width="25%"&gt;Alive&lt;/TD&gt;&lt;TD width="25%"&gt;Dead&lt;/TD&gt;&lt;TD width="25%"&gt;Injured&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Bullfrog&lt;/TD&gt;&lt;TD width="25%"&gt;1&lt;/TD&gt;&lt;TD width="25%"&gt;1&lt;/TD&gt;&lt;TD width="25%"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;Mink&lt;/TD&gt;&lt;TD width="25%"&gt;0&lt;/TD&gt;&lt;TD width="25%"&gt;1&lt;/TD&gt;&lt;TD width="25%"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Crow&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Aug 2023 23:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318527#M8308</guid>
      <dc:creator>Cheetah24</dc:creator>
      <dc:date>2023-08-14T23:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318718#M8312</link>
      <description>&lt;P&gt;Finally got it working. thanks for your help&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 15:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318718#M8312</guid>
      <dc:creator>Cheetah24</dc:creator>
      <dc:date>2023-08-15T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318727#M8313</link>
      <description>&lt;P&gt;Great! What was your solution?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 15:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/group-by-expression/m-p/1318727#M8313</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-08-15T15:36:11Z</dc:date>
    </item>
  </channel>
</rss>

