<?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: Filter Widget - Group multiple integers under one label in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-widget-group-multiple-integers-under-one/m-p/1363657#M9991</link>
    <description>&lt;P&gt;The label is just a label there is no logic that if two labels are the same that they should be combined into a single menu option. And what you really want requires two different types of SQL logic.&lt;/P&gt;&lt;P&gt;What you really want is a single dropdown menu that has two distinct types of SQL logic, something a less than 2020 and then a set of exact matches for the other numbers. That does not appear to be possible. It is possible to build a single pre-2020 button and a 2020 and later dropdown (or set of buttons).&lt;/P&gt;&lt;P&gt;Here I created a single button that will filter values between 1 and 3.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1703177600436.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89791i78B564E870FBAC21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1703177600436.png" alt="JeffreyThompson2_0-1703177600436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I made a new filter and set it to IS predefined unique values for the larger numbers.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_1-1703177744527.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89792i87CFBBA6BD5F8C8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_1-1703177744527.png" alt="JeffreyThompson2_1-1703177744527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will give me two buttons. One that filters 1-3 and another that triggers a dropdown menu for 4-6.&lt;/P&gt;&lt;P&gt;From design perspective, it would probably be better to make individual buttons for 4,5, and 6. Especially if these individual numbers are supposed to have equal importance as 1-3 as a group.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2023 16:59:58 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2023-12-21T16:59:58Z</dc:date>
    <item>
      <title>Filter Widget - Group multiple integers under one label</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-widget-group-multiple-integers-under-one/m-p/1363630#M9990</link>
      <description>&lt;P&gt;Hi ExB community!&lt;/P&gt;&lt;P&gt;I am building an application that includes a filter based upon a field of years ("2016 through current").&amp;nbsp; I am trying to group the years for 2016 through 2019 under a single label such that those four years will be selected if the user select that label (such as "Pre-2020").&lt;/P&gt;&lt;P&gt;Using the "Predefined unique values" option in the SQL Expression Builder, I can specify the label for the years 2016, 2017, 2018, and 2019:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mark_Prettyman_1-1703174267388.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89784i0171B53D50601876/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mark_Prettyman_1-1703174267388.png" alt="Mark_Prettyman_1-1703174267388.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the Filter Widget does not combine those years into a single option, but instead lists them out individually, with the labels repeated.&amp;nbsp; And each label still only applies to the respective year to which it is assigned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mark_Prettyman_2-1703174415184.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89785iFCAF33794C7C6175/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mark_Prettyman_2-1703174415184.png" alt="Mark_Prettyman_2-1703174415184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am hoping someone can help me point out what I am missing, so that the Filter Widget knows to group the four years as a single option...or maybe confirm that this SHOULD work, but is actually a bug.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 16:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-widget-group-multiple-integers-under-one/m-p/1363630#M9990</guid>
      <dc:creator>Mark_Prettyman</dc:creator>
      <dc:date>2023-12-21T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Widget - Group multiple integers under one label</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-widget-group-multiple-integers-under-one/m-p/1363657#M9991</link>
      <description>&lt;P&gt;The label is just a label there is no logic that if two labels are the same that they should be combined into a single menu option. And what you really want requires two different types of SQL logic.&lt;/P&gt;&lt;P&gt;What you really want is a single dropdown menu that has two distinct types of SQL logic, something a less than 2020 and then a set of exact matches for the other numbers. That does not appear to be possible. It is possible to build a single pre-2020 button and a 2020 and later dropdown (or set of buttons).&lt;/P&gt;&lt;P&gt;Here I created a single button that will filter values between 1 and 3.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1703177600436.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89791i78B564E870FBAC21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1703177600436.png" alt="JeffreyThompson2_0-1703177600436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I made a new filter and set it to IS predefined unique values for the larger numbers.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_1-1703177744527.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89792i87CFBBA6BD5F8C8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_1-1703177744527.png" alt="JeffreyThompson2_1-1703177744527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will give me two buttons. One that filters 1-3 and another that triggers a dropdown menu for 4-6.&lt;/P&gt;&lt;P&gt;From design perspective, it would probably be better to make individual buttons for 4,5, and 6. Especially if these individual numbers are supposed to have equal importance as 1-3 as a group.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 16:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-widget-group-multiple-integers-under-one/m-p/1363657#M9991</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-12-21T16:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Widget - Group multiple integers under one label</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-widget-group-multiple-integers-under-one/m-p/1363921#M10005</link>
      <description>&lt;P&gt;Thanks for the info and suggestions,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;!&amp;nbsp; I spoke with the data owner and they may make a new text field to reclassify the years more appropriately.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 13:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-widget-group-multiple-integers-under-one/m-p/1363921#M10005</guid>
      <dc:creator>Mark_Prettyman</dc:creator>
      <dc:date>2023-12-22T13:51:09Z</dc:date>
    </item>
  </channel>
</rss>

