<?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: Data Filter: you have to choose between &amp;quot;conditional&amp;quot; &amp;amp; &amp;quot;grouping&amp;quot; in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/556173#M77014</link>
    <description>&lt;P&gt;here it is:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/data-filters-more-flexible-use-of-the-conditional-flag/idi-p/556164" target="_blank"&gt;https://community.jmp.com/t5/JMP-Wish-List/data-filters-more-flexible-use-of-the-conditional-flag/idi-p/556164&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you give an example for the "text filter"?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 20:34:11 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2022-10-13T20:34:11Z</dc:date>
    <item>
      <title>Data Filter: you have to choose between "conditional" &amp; "grouping"</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/555435#M76974</link>
      <description>&lt;P&gt;One can restrict an existing data filter further with the command:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;df &amp;lt;&amp;lt; (Filter Column(:age) &amp;lt;&amp;lt; Where(::age == 14));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;To add a new data filter group (standard setting: filter1 OR filter2)&lt;BR /&gt;one can use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;df &amp;lt;&amp;lt; Add Filter(Columns(:age), Where(::age == 14));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I just noticed that if the data filter is set to "conditional", it is not possible to add a new filter group.&lt;BR /&gt;You can still use the code, but the action is exactly like in the first case: new filter is included in the first filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that it is not possible to define 2 distinct filter groups with conditional behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Graph Spacing( 5 ),
	Variables,
	Elements( Points( Legend( 2 ) ) ),

);

df = gb &amp;lt;&amp;lt; 	Local Data Filter(
		Add Filter( columns( :sex, :name ),Where(:sex="M"),Display( :name, N Items( 6 ))),
		Add Filter( columns( :sex, :age, :name ),Where(:sex="F"), Display( :name, N Items( 6 )))
	);
wait(5);
// 2 separate data filters --&amp;gt; OR

gb &amp;lt;&amp;lt;Remove Local Data Filter;
wait(1);

df = gb &amp;lt;&amp;lt; 	Local Data Filter(
		Conditional,
		Add Filter( columns( :sex, :name ),Where(:sex="M"),Display( :name, N Items( 6 ))),
		Add Filter( columns( :sex, :age, :name ),Where(:sex="F"), Display( :name, N Items( 6 )))
	);
// 2nd data filter is included in the first one&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:00:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/555435#M76974</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-09T16:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter: you have to choose between "conditional" &amp; "grouping"</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/555979#M76996</link>
      <description>&lt;P&gt;The "Conditional" option lets you make a series filter selections, where the options available in subseuquent steps are dependent on prior selections.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example: &amp;nbsp;If I have columns, State, County, City, Street. &amp;nbsp; &amp;nbsp;If conditional is turned on, and I select North Carolina from the state, only Counties, Cities and Streets in N. Carolina would appear as levels in the other selections boxes. Next, if I selected "Wake" from the county list of levels, only cities and streets in Wake County would appear.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, I could make my first selection in the Street box. If I chose "West", only cities, counties and states that have a "west" street would show up as options in the other boxes. &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The order of the conditional selection is based on the order of the column that is selected, not the order of the columns in the dialog. (super convenient).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 13:23:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/555979#M76996</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2022-10-13T13:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter: you have to choose between "conditional" &amp; "grouping"</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/556077#M77006</link>
      <description>&lt;P&gt;Thanks for the clarification how the "conditional"&amp;nbsp; option works for Data Filters :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;I still need some further input to understand why it's not possible to add a second data filter &lt;STRONG&gt;group&lt;/STRONG&gt; to the data filter&amp;nbsp;if "conditional" is enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the second example above, I expected to get two data filter groups, one for male (with just male names) and one for female (with just female names) -&lt;BR /&gt;actually like it's the case when "conditional" is not activated, just with the feature that the male/female selection restricts the list of names.&lt;BR /&gt;I mean: conditional should just activate the conditional displaying of list entries - it should not change the logics behind the data filter structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's surprising that the result for the second example with "conditional" activated is so different:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;no second data filter group&lt;/LI&gt;&lt;LI&gt;:sex=F and the list for :name from the second data filter group don't show up (seems that they are merged into the first data filter group and don't show up twice)&lt;/LI&gt;&lt;LI&gt;indication why it seems to be like this:&lt;BR /&gt;:age from the second data filter is added to the first data filter group&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;what I expected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HolgerSp_2-1665680944242.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46282i93A71028D3D68B10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HolgerSp_2-1665680944242.png" alt="HolgerSp_2-1665680944242.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;what I got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HolgerSp_0-1665679928287.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46279i155209C1C555E95A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HolgerSp_0-1665679928287.png" alt="HolgerSp_0-1665679928287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 17:09:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/556077#M77006</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-10-13T17:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter: you have to choose between "conditional" &amp; "grouping"</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/556116#M77008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;- I think it would be worth adding items to the Wish List to gauge interest in more flexible use of the conditional flag.&amp;nbsp; I'm not certain, but it seems like the current limitations are primarily based on whether any 'OR' conditions are in use.&amp;nbsp; Both Multiple Response and the Text Filter have options for selecting matches that behave more like 'OR' filters, and neither of them support conditional.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Dan&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 18:03:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/556116#M77008</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2022-10-13T18:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data Filter: you have to choose between "conditional" &amp; "grouping"</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/556173#M77014</link>
      <description>&lt;P&gt;here it is:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/data-filters-more-flexible-use-of-the-conditional-flag/idi-p/556164" target="_blank"&gt;https://community.jmp.com/t5/JMP-Wish-List/data-filters-more-flexible-use-of-the-conditional-flag/idi-p/556164&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you give an example for the "text filter"?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 20:34:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Filter-you-have-to-choose-between-quot-conditional-quot-amp/m-p/556173#M77014</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-10-13T20:34:11Z</dc:date>
    </item>
  </channel>
</rss>

