<?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: Use AND operator between different filters in Experience Builder in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-and-operator-between-different-filters-in/m-p/1607267#M18539</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4655"&gt;@TonghuiMing&lt;/a&gt;&amp;nbsp;, is it possible to alter experience builder's behavior to use the OR when applying different filter widgets? I'm in a similar scenario where I want to use multiple filter widgets all working against one layer, and I want to use the OR operator within and between the filter instances.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2025 13:38:12 GMT</pubDate>
    <dc:creator>ZachBodenner</dc:creator>
    <dc:date>2025-04-18T13:38:12Z</dc:date>
    <item>
      <title>Use AND operator between different filters in Experience Builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-and-operator-between-different-filters-in/m-p/1289132#M6954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have made one web map with one layer. This layer has several attributes.&lt;/P&gt;&lt;P&gt;I have added this map to an experience builder in ArcGIS Enterprise 10.9.1. I have set up different filters based on different attributes in the layer. The filters work individually, but not together.&lt;/P&gt;&lt;P&gt;Technically speaking, when I turn on one or more filter&amp;nbsp;&lt;EM&gt;within&lt;/EM&gt; one attribute (one filter widget), I want to filter using the OR operator. Between the filter widgets (attributes) I want the AND operator to be applied. Setting up the filtering &lt;EM&gt;within &lt;/EM&gt;one filter widget works but not &lt;EM&gt;between &lt;/EM&gt;filter widgets&lt;EM&gt;.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In the screenshot below I would like the following filtering to be applied:&lt;/P&gt;&lt;P&gt;('Energie' OR 'Materialen') AND ('Circulaire Economie' OR 'Ruimtelijke kwaliteit').&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jelle_Stu_PR_2-1684157813170.png" style="width: 235px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70683iC29C12656928E5BD/image-dimensions/235x553?v=v2" width="235" height="553" role="button" title="Jelle_Stu_PR_2-1684157813170.png" alt="Jelle_Stu_PR_2-1684157813170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have control over the OR operator within one filter attribute. This is how I set up the OR operator within one attribute filter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jelle_Stu_PR_3-1684158260724.png" style="width: 288px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70684iB7B4AB23D7E3714D/image-dimensions/288x499?v=v2" width="288" height="499" role="button" title="Jelle_Stu_PR_3-1684158260724.png" alt="Jelle_Stu_PR_3-1684158260724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I cannot find a way to change the operator &lt;EM&gt;between&lt;/EM&gt; the filter attributes. This always seems to be OR.&lt;/P&gt;&lt;P&gt;From my experience in ArcGIS Dashboards, the AND operator is always used when applying different filters. Here it seems to be OR. Is there a way to adjust this or work around it?&lt;/P&gt;&lt;P&gt;best regards,&lt;BR /&gt;Jelle Stuurman&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:25:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-and-operator-between-different-filters-in/m-p/1289132#M6954</guid>
      <dc:creator>Jelle_Stu_PR</dc:creator>
      <dc:date>2023-06-06T13:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use AND operator between different filters in Experience Builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-and-operator-between-different-filters-in/m-p/1289438#M6960</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/135154"&gt;@Jelle_Stu_PR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on your screenshot, the OR is configured to apply between different &lt;STRONG&gt;filter items&lt;/STRONG&gt; (your second screenshot is exactly the way to configure the logic operator &lt;STRONG&gt;between&lt;/STRONG&gt; them). However, you mentioned that you want to do 'AND' - these two seem conflicted with each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to achieve your case, it would be better to put these into one single filter item in the SQL Expression Builder, with multiple clauses/clause sets; and then use 'AND' between them. Something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_0-1684202227495.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70765iD26899FF281DF103/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_0-1684202227495.png" alt="TonghuiMing_0-1684202227495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_1-1684202270874.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70766i3742159CF71DD07F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_1-1684202270874.png" alt="TonghuiMing_1-1684202270874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another way to achieve it - you can add two different &lt;STRONG&gt;Filter widgets&lt;/STRONG&gt;, and use the same data source. In ExB,&amp;nbsp;&lt;SPAN&gt;the AND operator is always used when applying different filter widgets (and other filters added to the same data source) as well:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_2-1684203122565.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70767i6217AFD100EBE6A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_2-1684203122565.png" alt="TonghuiMing_2-1684203122565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 02:17:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-and-operator-between-different-filters-in/m-p/1289438#M6960</guid>
      <dc:creator>TonghuiMing</dc:creator>
      <dc:date>2023-05-16T02:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use AND operator between different filters in Experience Builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/use-and-operator-between-different-filters-in/m-p/1607267#M18539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4655"&gt;@TonghuiMing&lt;/a&gt;&amp;nbsp;, is it possible to alter experience builder's behavior to use the OR when applying different filter widgets? I'm in a similar scenario where I want to use multiple filter widgets all working against one layer, and I want to use the OR operator within and between the filter instances.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 13:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/use-and-operator-between-different-filters-in/m-p/1607267#M18539</guid>
      <dc:creator>ZachBodenner</dc:creator>
      <dc:date>2025-04-18T13:38:12Z</dc:date>
    </item>
  </channel>
</rss>

