<?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 Arcade Filter a featureSet in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607359#M64465</link>
    <description>&lt;P&gt;We are working to visualize datasets for a Dashboard using a complex Arcade expression. However, we are stuck on the first Filter function of a featureSet. Can anyone offer suggestions??????&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;quadTable&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByPortalItem&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;portalUrl&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;itemId&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;29,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;"QuadInsp_GUID"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"FaunaPresent_MarshQuad"&lt;/SPAN&gt;&lt;SPAN&gt;]);&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;quadOysters&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Filter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;quadTable&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"FaunaPresent_MarshQuad IN ('1')"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The "FaunaPresent_MarshQuad" field can have text values of "1", "1, 2", "1, 2, 3", etc. We want to find those records that have a "1" somewhere present in that field. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 18 Apr 2025 17:06:05 GMT</pubDate>
    <dc:creator>JessicaHendricks444</dc:creator>
    <dc:date>2025-04-18T17:06:05Z</dc:date>
    <item>
      <title>Arcade Filter a featureSet</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607359#M64465</link>
      <description>&lt;P&gt;We are working to visualize datasets for a Dashboard using a complex Arcade expression. However, we are stuck on the first Filter function of a featureSet. Can anyone offer suggestions??????&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;quadTable&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByPortalItem&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;portalUrl&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;itemId&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;29,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;"QuadInsp_GUID"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"FaunaPresent_MarshQuad"&lt;/SPAN&gt;&lt;SPAN&gt;]);&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;quadOysters&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Filter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;quadTable&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"FaunaPresent_MarshQuad IN ('1')"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The "FaunaPresent_MarshQuad" field can have text values of "1", "1, 2", "1, 2, 3", etc. We want to find those records that have a "1" somewhere present in that field. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Apr 2025 17:06:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607359#M64465</guid>
      <dc:creator>JessicaHendricks444</dc:creator>
      <dc:date>2025-04-18T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Filter a featureSet</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607361#M64466</link>
      <description>&lt;P&gt;Assuming you only have single-digit numbers, I think this would work:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;FaunaPresent_MarshQuad LIKE '%1%'&lt;/LI-CODE&gt;&lt;P&gt;If you have two-digit values it's going to be trickier.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 17:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607361#M64466</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2025-04-18T17:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Filter a featureSet</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607363#M64467</link>
      <description>&lt;P&gt;Ooh that does work. Is there a way to select multiple values in that statement? I.e., if we want all records with a "1" or a "2" in them?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;FaunaPResent_MarshQuad LIKE '%1%' || FaunaPresent_MarshQuad LIKE '%2%'&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 17:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607363#M64467</guid>
      <dc:creator>JessicaHendricks444</dc:creator>
      <dc:date>2025-04-18T17:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Filter a featureSet</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607369#M64468</link>
      <description>&lt;P&gt;You can have multiple LIKES, but you have to use "OR" not "||"&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;FaunaPResent_MarshQuad LIKE '%1%' OR FaunaPresent_MarshQuad LIKE '%2%'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 17:30:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607369#M64468</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-04-18T17:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Filter a featureSet</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607372#M64470</link>
      <description>&lt;P&gt;Thank you both so much!!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 17:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-filter-a-featureset/m-p/1607372#M64470</guid>
      <dc:creator>JessicaHendricks444</dc:creator>
      <dc:date>2025-04-18T17:33:55Z</dc:date>
    </item>
  </channel>
</rss>

