<?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: Filtering as a New Expression in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190464#M46863</link>
    <description>&lt;P&gt;If you have an explicit list of zip codes, the SQL version of that would be&amp;nbsp;&lt;STRONG&gt;zipcode IN ('10001', '10002', '10004'...)&amp;nbsp;&lt;/STRONG&gt;but you don't have access to writing that filter in the web map. You could write it in Pro, or else modify the map's JSON using AGOL Assistant to paste the SQL in directly.&lt;/P&gt;&lt;P&gt;If that's too advanced, you can just keep modifying the existing filters. Try adding&amp;nbsp;&lt;STRONG&gt;sets&lt;/STRONG&gt; to the filter, so that you can combine "starts with 10" and "does not equal 10003" into a single condition.&lt;/P&gt;&lt;P&gt;Unfortunately, if you need a specific filter, you're going to need to do a lot of clicking. But there's really nothing stopping you from accomplishing this in the map.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 17:04:02 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2022-07-07T17:04:02Z</dc:date>
    <item>
      <title>Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190021#M46832</link>
      <description>&lt;P&gt;Hello I am super new to ArcGIS &amp;amp; &lt;SPAN&gt;Arcade&lt;/SPAN&gt;, and I am hoping my ask is pretty simple... I just don't know what I am looking for to search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a list of zipcodes in the united states, and I was wondering if I can use the 'New Expression' to filter a number of zipcodes so that my graph will only show those? Sometimes the number will range from 50 zipcodes to 1,000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible and can the code as simple as: $feature["ZIP_CODE"] equals(10001, 10002)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 18:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190021#M46832</guid>
      <dc:creator>ksost1</dc:creator>
      <dc:date>2022-07-06T18:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190047#M46833</link>
      <description>&lt;P&gt;Can you give some more information about where you're using this expression? Is it in a popup? A Dashboard?&lt;/P&gt;&lt;P&gt;Filtering your data to include multiple specific values is possible, but it's usually done outside of Arcade (though it is possible for an expression to do this, too).&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 19:35:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190047#M46833</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-07-06T19:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190102#M46836</link>
      <description>&lt;P&gt;Hi! thanks for reaching out. I am using a dashboard. My layer is all of the united states zipcodes. So for example, I only want to highlight around 2,000 specific zipcodes in New York.&lt;BR /&gt;&lt;BR /&gt;After some research I saw I might have to create my file of those 2,000 zipcodes into a layer itself &amp;amp; combine the two.... I think I would rather hard code compared to that though because I am not having much luck that way either.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 20:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190102#M46836</guid>
      <dc:creator>ksost1</dc:creator>
      <dc:date>2022-07-06T20:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190117#M46837</link>
      <description>&lt;P&gt;At the map level, you can apply a&amp;nbsp;&lt;STRONG&gt;Filter&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1657141588750.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45375i4BAFC0C7E532989F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1657141588750.png" alt="jcarlson_0-1657141588750.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From there, you can build an expression like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1657141704502.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45376i2EA47A2A4A37E3F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1657141704502.png" alt="jcarlson_1-1657141704502.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That way, the data is already filtered when the map loads in your Dashboard.&lt;/P&gt;&lt;P&gt;You can apply the same kind of filter in the Dashboard itself, but on a per-widget basis. Probably best to do it in the map.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 21:14:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190117#M46837</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-07-06T21:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190307#M46851</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snipofmap.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45423i63EB30DE9FF95011/image-size/medium?v=v2&amp;amp;px=400" role="button" title="snipofmap.png" alt="snipofmap.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for the photos, super helpful. What if I only want to  show a specific portion of NY?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 12:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190307#M46851</guid>
      <dc:creator>ksost1</dc:creator>
      <dc:date>2022-07-07T12:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190355#M46854</link>
      <description>&lt;P&gt;Play around with the filters and see! You should be able to get pretty close with some broad "begins with" filters, then some more specific ones to get anything else.&lt;/P&gt;&lt;P&gt;For instance, "starts with 10 Or starts with 11" gets you Manhattan and the southern end of the state. If you need more beyond that, you can just add more specific statements to the filter to get them.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1657202282197.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45431i763562218A38EB1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1657202282197.png" alt="jcarlson_0-1657202282197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 13:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190355#M46854</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-07-07T13:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190401#M46858</link>
      <description>&lt;P&gt;Thank you so much for your help, although I would like a more specific way. I have ~2,000 unique zipcodes and it would be too much to play around with.&lt;/P&gt;&lt;P&gt;For example I might want to highlight zipcodes 10001,10002,10004...10013 but not 10003&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 15:32:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190401#M46858</guid>
      <dc:creator>ksost1</dc:creator>
      <dc:date>2022-07-07T15:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering as a New Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190464#M46863</link>
      <description>&lt;P&gt;If you have an explicit list of zip codes, the SQL version of that would be&amp;nbsp;&lt;STRONG&gt;zipcode IN ('10001', '10002', '10004'...)&amp;nbsp;&lt;/STRONG&gt;but you don't have access to writing that filter in the web map. You could write it in Pro, or else modify the map's JSON using AGOL Assistant to paste the SQL in directly.&lt;/P&gt;&lt;P&gt;If that's too advanced, you can just keep modifying the existing filters. Try adding&amp;nbsp;&lt;STRONG&gt;sets&lt;/STRONG&gt; to the filter, so that you can combine "starts with 10" and "does not equal 10003" into a single condition.&lt;/P&gt;&lt;P&gt;Unfortunately, if you need a specific filter, you're going to need to do a lot of clicking. But there's really nothing stopping you from accomplishing this in the map.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 17:04:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filtering-as-a-new-expression/m-p/1190464#M46863</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-07-07T17:04:02Z</dc:date>
    </item>
  </channel>
</rss>

