<?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: Values filtered by previous expressions not available for contains clause in Filter Widget? in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1371473#M10391</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/152557"&gt;@BrittanyBurson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your issue above is different from what Hailey had.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_0-1705560568484.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91956iC8C559351833601A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_0-1705560568484.png" alt="TonghuiMing_0-1705560568484.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You have only one clause in the screenshot, telling me you used multiple&amp;nbsp;&lt;STRONG&gt;filter items, with a single clause in each of them&lt;/STRONG&gt;, like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_2-1705561210247.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91960iA4B3F483D039A599/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_2-1705561210247.png" alt="TonghuiMing_2-1705561210247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It won't work because&amp;nbsp;&lt;STRONG&gt;there is only one expression existing for each, hence no previous expressions at all. &lt;/STRONG&gt;&lt;EM&gt;(there is only one previous filter item)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Values filtered by previous expressions" option does not necessarily need to be within a set, but all the information needs to be in one filter item (multiple clauses/clause sets inside &lt;STRONG&gt;one&lt;/STRONG&gt; SQL Expression Builder) - that's the meaning of "previous expressions":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_1-1705560667990.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91958iA03CE3CDD06EF170/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_1-1705560667990.png" alt="TonghuiMing_1-1705560667990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;See two individual clauses (not inside a set) that have that option as expected.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 07:07:17 GMT</pubDate>
    <dc:creator>TonghuiMing</dc:creator>
    <dc:date>2024-01-18T07:07:17Z</dc:date>
    <item>
      <title>Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1365792#M10064</link>
      <description>&lt;P&gt;I'm looking for help with the filter widget, in particular filtering values by previous expressions.&amp;nbsp;I’d like to set up filters on two fields that contain multiple values delimited by a semicolon. For the first filter, I’d like the user to be able to select one or more options from a list of predefined multiple values and I’d like that selection to filter the available values in the second filter. Is this capability available for contains clause with multiple predefined values? The &lt;A href="https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/filter-widget.htm#ESRI_SECTION1_068446E215E04DFD8ECC7AA272773BF3" target="_blank"&gt;filter widget documentation&lt;/A&gt; seems to imply that it should be, but I’m not seeing the option to do so in the expression builder. When I switch the clause to “is” I do see the option to filter by previous expression, but this won’t work for my field which contains multiple delimited values. Is this expected behavior?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="contains.png" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90378iC432344F14F55BF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="contains.png" alt="contains.png" /&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="is.png" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90380iD0CD9F52E886E52C/image-size/large?v=v2&amp;amp;px=999" role="button" title="is.png" alt="is.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 15:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1365792#M10064</guid>
      <dc:creator>HaileyWright1</dc:creator>
      <dc:date>2024-01-03T15:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366079#M10076</link>
      <description>&lt;P&gt;I can't believe you posted this 9 hours ago. I am seeing the exact same problem. I have this setup so that it will only show me communities within Council District X if one is selected in the previous filter. However, it still shows me the entire list of communities from the entire city. Seems like a bug.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_0-1704326827910.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90452i706A7C0883839546/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrittanyBurson_0-1704326827910.png" alt="BrittanyBurson_0-1704326827910.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="BrittanyBurson_1-1704327401049.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90454i28CA194724CDC40F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrittanyBurson_1-1704327401049.png" alt="BrittanyBurson_1-1704327401049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 00:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366079#M10076</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2024-01-04T00:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366099#M10077</link>
      <description>&lt;P&gt;I think it needs to be in a &lt;STRONG&gt;Set.&amp;nbsp; &lt;/STRONG&gt;I recall fighting with this filter functionality.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Also, if you're trying to filter a map, you have to apply it to the default data view.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_0-1704329241270.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90458i1572E9F90576BC11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_0-1704329241270.png" alt="RyanBohan_0-1704329241270.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_1-1704329252415.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90459iFF9A84CF55096D3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_1-1704329252415.png" alt="RyanBohan_1-1704329252415.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RyanBohan_2-1704329260479.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90460i512E6EC08AD9CAC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RyanBohan_2-1704329260479.png" alt="RyanBohan_2-1704329260479.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It currently has some test data, you can view the filter results &lt;A href="https://experience.arcgis.com/experience/e028df060dc941af9dd6ebe9726f872c/page/Performances/" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp; Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 00:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366099#M10077</guid>
      <dc:creator>RyanBohan</dc:creator>
      <dc:date>2024-01-04T00:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366321#M10089</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/190819"&gt;@RyanBohan&lt;/a&gt;&amp;nbsp;you're right, it has to be a set. The language is a bit confusing. Maybe it should say "Values filtered by previous expressions &lt;STRONG&gt;within set&lt;/STRONG&gt;"&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366321#M10089</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2024-01-04T16:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366345#M10090</link>
      <description>&lt;P&gt;Thanks for the replies. I’m glad the clause set worked for you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/152557"&gt;@BrittanyBurson&lt;/a&gt;. Unfortunately in my case, the issue is not that the filter by previous expression functionality isn’t working (it works fine with &lt;U&gt;is&lt;/U&gt; (=) clauses), the issue is that I don’t even see the setting to apply it when using &lt;U&gt;contains&lt;/U&gt; (like) clauses. I’m thinking it’s a limitation of the many to many relationship here as both of my fields that I’m trying to filter contain multiple values delimited by a semi colon. Hoping for a bug, not a table redesign &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 955px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90527iD851185F64825E39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:35:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366345#M10090</guid>
      <dc:creator>HaileyWright1</dc:creator>
      <dc:date>2024-01-04T16:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366374#M10096</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/81762"&gt;@HaileyWright1&lt;/a&gt;&amp;nbsp;your 100% correct, sorry for the confusion.&amp;nbsp; Please submit and &lt;A href="https://community.esri.com/t5/arcgis-experience-builder-ideas/idb-p/arcgis-experience-builder-ideas" target="_self"&gt;idea&lt;/A&gt; to add "Values filtered by previous expressions." would be a great improvement for Experience Builder.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 17:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1366374#M10096</guid>
      <dc:creator>RyanBohan</dc:creator>
      <dc:date>2024-01-04T17:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1370547#M10338</link>
      <description>&lt;P&gt;Idea submitted! &lt;A href="https://community.esri.com/t5/arcgis-experience-builder-ideas/apply-the-values-filtered-by-previous-expressions/idi-p/1370541/jump-to/first-unread-message" target="_blank"&gt;Apply the “values filtered by previous expressions... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 16:40:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1370547#M10338</guid>
      <dc:creator>HaileyWright1</dc:creator>
      <dc:date>2024-01-16T16:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1371473#M10391</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/152557"&gt;@BrittanyBurson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your issue above is different from what Hailey had.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_0-1705560568484.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91956iC8C559351833601A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_0-1705560568484.png" alt="TonghuiMing_0-1705560568484.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You have only one clause in the screenshot, telling me you used multiple&amp;nbsp;&lt;STRONG&gt;filter items, with a single clause in each of them&lt;/STRONG&gt;, like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_2-1705561210247.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91960iA4B3F483D039A599/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_2-1705561210247.png" alt="TonghuiMing_2-1705561210247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It won't work because&amp;nbsp;&lt;STRONG&gt;there is only one expression existing for each, hence no previous expressions at all. &lt;/STRONG&gt;&lt;EM&gt;(there is only one previous filter item)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Values filtered by previous expressions" option does not necessarily need to be within a set, but all the information needs to be in one filter item (multiple clauses/clause sets inside &lt;STRONG&gt;one&lt;/STRONG&gt; SQL Expression Builder) - that's the meaning of "previous expressions":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TonghuiMing_1-1705560667990.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91958iA03CE3CDD06EF170/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TonghuiMing_1-1705560667990.png" alt="TonghuiMing_1-1705560667990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;See two individual clauses (not inside a set) that have that option as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 07:07:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1371473#M10391</guid>
      <dc:creator>TonghuiMing</dc:creator>
      <dc:date>2024-01-18T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Values filtered by previous expressions not available for contains clause in Filter Widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1371475#M10392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/81762"&gt;@HaileyWright1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue you had here is not specifically related to the 'contains' operator. It is related to &lt;STRONG&gt;predefined values&lt;/STRONG&gt;. ('Contains' operator only supports user input &amp;amp; predefined as sources)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given that predefined values could be manually typed in and do not have anything to do with the original data source (e.g. for domain fields, users can type in 1/2/3/... first and then update their subtype fields later), we did not include the "&lt;SPAN&gt;Values filtered by previous expressions&lt;/SPAN&gt;" option - it is not the same list unique values that are &lt;STRONG&gt;dynamically populated&lt;/STRONG&gt;, but rather a static list per users' choice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's the reason why you do not see that option in your case.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 07:10:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/values-filtered-by-previous-expressions-not/m-p/1371475#M10392</guid>
      <dc:creator>TonghuiMing</dc:creator>
      <dc:date>2024-01-18T07:10:04Z</dc:date>
    </item>
  </channel>
</rss>

