<?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: How to exclude rows based on a formula like in excel in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-exclude-rows-based-on-a-formula-like-in-excel/m-p/596914#M80061</link>
    <description>&lt;P&gt;Another approach similar to that suggested by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;is to use a transform column within the data filter:&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="danschikore_0-1675438383497.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49775i17E0E6095DE2C102/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danschikore_0-1675438383497.png" alt="danschikore_0-1675438383497.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Define the formula just as you would when adding a column to the table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danschikore_1-1675438666533.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49776iEA5476A0A42A5E75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danschikore_1-1675438666533.png" alt="danschikore_1-1675438666533.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The new column will appear only in the filter.&amp;nbsp; You can right-click to give the new column a different name, and then add it to the filter like any other column:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danschikore_2-1675438825223.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49777iD6BE6D4C6F19A26D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danschikore_2-1675438825223.png" alt="danschikore_2-1675438825223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 15:41:59 GMT</pubDate>
    <dc:creator>danschikore</dc:creator>
    <dc:date>2023-02-03T15:41:59Z</dc:date>
    <item>
      <title>How to exclude rows based on a formula like in excel</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-exclude-rows-based-on-a-formula-like-in-excel/m-p/596826#M80052</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not run anything in JSL, as so far everything I've needed has been available as a series of buttons in the existing UI. I am hoping that what I want is still in that realm, but if it isn't, I could use instructions that a child could follow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to write a formula in the data filter that would exclude anything that either satisfies (or doesn't satisfy) that formula. Is there an option like that in the UI, or will I need to script something for that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I want to say "exclude rows that do not contain the mode of X column" or "exclude rows that are not within 1 st.dev of the mean of Y column", how can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;-Blue&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:38:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-exclude-rows-based-on-a-formula-like-in-excel/m-p/596826#M80052</guid>
      <dc:creator>Blueseashell3</dc:creator>
      <dc:date>2023-06-08T16:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude rows based on a formula like in excel</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-exclude-rows-based-on-a-formula-like-in-excel/m-p/596857#M80054</link>
      <description>&lt;P&gt;Create new formula column with your calculation. You could make it show 1 when it should be filtered and 0 when not. Then you can add Data Filter to your data table and use that as a filter.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1675436025778.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49770i18EC765B5AF9DF7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1675436025778.png" alt="jthi_0-1675436025778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Mode(:age) == :age&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1675436063250.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49771iD244B711E40BAEB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1675436063250.png" alt="jthi_1-1675436063250.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you use If statement you can use character column with what ever text you want or Value Codes column property:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1675436125271.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49772iC4B12DAB2BF9402A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1675436125271.png" alt="jthi_2-1675436125271.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1675436135955.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49773iD666B46D0610DE00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1675436135955.png" alt="jthi_3-1675436135955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 14:56:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-exclude-rows-based-on-a-formula-like-in-excel/m-p/596857#M80054</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-03T14:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude rows based on a formula like in excel</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-exclude-rows-based-on-a-formula-like-in-excel/m-p/596914#M80061</link>
      <description>&lt;P&gt;Another approach similar to that suggested by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;is to use a transform column within the data filter:&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="danschikore_0-1675438383497.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49775i17E0E6095DE2C102/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danschikore_0-1675438383497.png" alt="danschikore_0-1675438383497.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Define the formula just as you would when adding a column to the table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danschikore_1-1675438666533.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49776iEA5476A0A42A5E75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danschikore_1-1675438666533.png" alt="danschikore_1-1675438666533.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The new column will appear only in the filter.&amp;nbsp; You can right-click to give the new column a different name, and then add it to the filter like any other column:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danschikore_2-1675438825223.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49777iD6BE6D4C6F19A26D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danschikore_2-1675438825223.png" alt="danschikore_2-1675438825223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 15:41:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-exclude-rows-based-on-a-formula-like-in-excel/m-p/596914#M80061</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2023-02-03T15:41:59Z</dc:date>
    </item>
  </channel>
</rss>

