<?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 How to set AND condition in Filter widget when selecting predefine multiple values in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-set-and-condition-in-filter-widget-when/m-p/1240324#M5896</link>
    <description>&lt;P&gt;I configured a Filter widget so that you can select multiple predefined values from the dropdown menu. I used the 'contains' condition since the field contains a list of concatenated values, for example: '2020-2021', 2019-2020', 2018-2019', and so forth.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expression1.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58321iF0955F9BDA0E3F58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="expression1.png" alt="expression1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to be able to set an 'AND' condition for filtering the checked values, but the default behavior seems to be set to 'OR'. I know I have the option to select a condition if I add a filter for each year range, but I don't want to do that. The years range from 2008 to 2021 and that's too many filters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's weird is that in the main app config there appears to be a "logicalOperator" property in the 'sqlExprObj' for each filter. I tried changing the property value to "AND" but it made no difference, like the property is being ignored. Was wandering if I am missing something, or is something that isn't currently possible.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="expression2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58322i63AA5878357FFE40/image-size/large?v=v2&amp;amp;px=999" role="button" title="expression2.png" alt="expression2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 20:09:39 GMT</pubDate>
    <dc:creator>FranklinAlexander</dc:creator>
    <dc:date>2022-12-12T20:09:39Z</dc:date>
    <item>
      <title>How to set AND condition in Filter widget when selecting predefine multiple values</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-set-and-condition-in-filter-widget-when/m-p/1240324#M5896</link>
      <description>&lt;P&gt;I configured a Filter widget so that you can select multiple predefined values from the dropdown menu. I used the 'contains' condition since the field contains a list of concatenated values, for example: '2020-2021', 2019-2020', 2018-2019', and so forth.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expression1.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58321iF0955F9BDA0E3F58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="expression1.png" alt="expression1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to be able to set an 'AND' condition for filtering the checked values, but the default behavior seems to be set to 'OR'. I know I have the option to select a condition if I add a filter for each year range, but I don't want to do that. The years range from 2008 to 2021 and that's too many filters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's weird is that in the main app config there appears to be a "logicalOperator" property in the 'sqlExprObj' for each filter. I tried changing the property value to "AND" but it made no difference, like the property is being ignored. Was wandering if I am missing something, or is something that isn't currently possible.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="expression2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58322i63AA5878357FFE40/image-size/large?v=v2&amp;amp;px=999" role="button" title="expression2.png" alt="expression2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 20:09:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-set-and-condition-in-filter-widget-when/m-p/1240324#M5896</guid>
      <dc:creator>FranklinAlexander</dc:creator>
      <dc:date>2022-12-12T20:09:39Z</dc:date>
    </item>
  </channel>
</rss>

