<?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: AGOL Dashboard - Grouping values based on 2 data fields in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343744#M55466</link>
    <description>&lt;P&gt;Oh...&amp;nbsp; arcade!&amp;nbsp; I'm just not sure how/where to use it.&amp;nbsp; Thanks, it points me to the right direction, I'll investigate this!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've did &lt;STRONG&gt;little&lt;/STRONG&gt; arcade coding before but not much.&amp;nbsp; However, I can appreciate this is a very powerful skill to possess.&lt;/P&gt;&lt;P&gt;Do you guys have any recommendations on resources to learn and develop my arcade skills?&lt;/P&gt;&lt;P&gt;(I already did the "Stay in the Game with ArcGIS Arcade" paid course from ESRI)&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 11:45:54 GMT</pubDate>
    <dc:creator>KenBouchard</dc:creator>
    <dc:date>2023-10-31T11:45:54Z</dc:date>
    <item>
      <title>AGOL Dashboard - Grouping values based on 2 data fields</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343414#M55436</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on a dashboard that will present our lab results for our samples. Basically, we have multiple samples taken at a location and then we received the results for each sample.&lt;/P&gt;&lt;P&gt;I need a TABLE that could summarize how many results came back as positive/negative for each location.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenBouchard_1-1698685381808.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84455iDD9D25BB499EA7B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenBouchard_1-1698685381808.png" alt="KenBouchard_1-1698685381808.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it's possible to group by 1 category but is there a way to group by 2 categories?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenBouchard_2-1698685410979.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84456i0FCD458D02F78CBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenBouchard_2-1698685410979.png" alt="KenBouchard_2-1698685410979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 17:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343414#M55436</guid>
      <dc:creator>KenBouchard</dc:creator>
      <dc:date>2023-10-30T17:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Dashboard - Grouping values based on 2 data fields</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343592#M55450</link>
      <description>&lt;P&gt;I think using a Data Expression as your source (rather than a table directly) would let you do this.&amp;nbsp; You'd want to create a derived attribute that combines the two fields you're interested in.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 22:35:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343592#M55450</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2023-10-30T22:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Dashboard - Grouping values based on 2 data fields</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343658#M55457</link>
      <description>&lt;P&gt;Piggybacking on this: Data Expression is the way to go, and with a nicely written &lt;STRONG&gt;GroupBy&lt;/STRONG&gt; function, it wouldn't be that hard.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fs = FeatureSetByPortalItem(
  Portal('arcgis.com'),
  'itemid of layer',
  0,
  ['location', 'results'],
  false
)

return GroupBy(
  fs,
  ['location', 'results'],
  {name: 'count', expression: '1', statistic: 'COUNT'}
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 31 Oct 2023 02:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343658#M55457</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-10-31T02:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Dashboard - Grouping values based on 2 data fields</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343744#M55466</link>
      <description>&lt;P&gt;Oh...&amp;nbsp; arcade!&amp;nbsp; I'm just not sure how/where to use it.&amp;nbsp; Thanks, it points me to the right direction, I'll investigate this!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've did &lt;STRONG&gt;little&lt;/STRONG&gt; arcade coding before but not much.&amp;nbsp; However, I can appreciate this is a very powerful skill to possess.&lt;/P&gt;&lt;P&gt;Do you guys have any recommendations on resources to learn and develop my arcade skills?&lt;/P&gt;&lt;P&gt;(I already did the "Stay in the Game with ArcGIS Arcade" paid course from ESRI)&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 11:45:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-dashboard-grouping-values-based-on-2-data/m-p/1343744#M55466</guid>
      <dc:creator>KenBouchard</dc:creator>
      <dc:date>2023-10-31T11:45:54Z</dc:date>
    </item>
  </channel>
</rss>

