<?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: How to create a Filter expression with AND and OR in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640823#M65901</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160974"&gt;@JenniferAcunto&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I did and it worked.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 11:15:50 GMT</pubDate>
    <dc:creator>JoseSanchez</dc:creator>
    <dc:date>2025-08-11T11:15:50Z</dc:date>
    <item>
      <title>How to create a Filter expression with AND and OR</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640043#M65870</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;Is there a way to add in a web map a filter to a layer that has a condition with AND and OR&lt;/P&gt;&lt;P&gt;For example&amp;nbsp; &amp;nbsp;ProjectStatus = Active and (ProjectLocation = "Park" or "Residential" or "Commercial")&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 15:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640043#M65870</guid>
      <dc:creator>SanchezNuñez</dc:creator>
      <dc:date>2025-08-07T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Filter expression with AND and OR</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640049#M65871</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/467729"&gt;@SanchezNuñez&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You cannot include a grouping of clauses in a map filter. However, you can set it up so that it looks like the example below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ProjectStatus = Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AND&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ProjectLocation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Includes( *Selected Values)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RPGIS_0-1754581763810.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138067iAC4DB7F9167F23A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RPGIS_0-1754581763810.png" alt="RPGIS_0-1754581763810.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;RPGIS_0-1754581763810.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 15:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640049#M65871</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2025-08-07T15:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Filter expression with AND and OR</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640114#M65874</link>
      <description>&lt;P&gt;You can create a condition group by clicking on the three dots and select add condition.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="JenniferAcunto_1-1754589297918.png" style="width: 369px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138078i975E8B76DC9A0EE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="JenniferAcunto_1-1754589297918.png" alt="JenniferAcunto_1-1754589297918.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JenniferAcunto_1-1754589297918.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From there you can select if any are true (or) or if all are true (and) for that specific group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="JenniferAcunto_0-1754589268096.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138077i13E79D823E9ADC56/image-size/large?v=v2&amp;amp;px=999" role="button" title="JenniferAcunto_0-1754589268096.png" alt="JenniferAcunto_0-1754589268096.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JenniferAcunto_0-1754589268096.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 17:56:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640114#M65874</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2025-08-07T17:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Filter expression with AND and OR</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640823#M65901</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160974"&gt;@JenniferAcunto&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I did and it worked.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 11:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-create-a-filter-expression-with-and-and-or/m-p/1640823#M65901</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2025-08-11T11:15:50Z</dc:date>
    </item>
  </channel>
</rss>

