<?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 Filtering by col variable by other col variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47839#M27247</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm quite rusty on JMP and haven't had luck finding a relatively specific issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset with 7 columns and ~600,000 rows. I was hoping to filter the dataset by 2 of the variables. Specifically I only want to include the specific rows which have column variable "Peptide" represented in both of my other column variable "REGION" which has two categoric inputs (say Z and Y). For example in vastly simplified table below, the second row would not be in filtered table since Z is not represented for that peptide.&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PEPTIDE&lt;/TD&gt;&lt;TD&gt;REGION&lt;/TD&gt;&lt;TD&gt;ABUNDANCE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CBS&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CNN&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CNN&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any direction you can provide.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 16:15:38 GMT</pubDate>
    <dc:creator>JmpJoeLearner2</dc:creator>
    <dc:date>2017-11-29T16:15:38Z</dc:date>
    <item>
      <title>Filtering by col variable by other col variable</title>
      <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47839#M27247</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm quite rusty on JMP and haven't had luck finding a relatively specific issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset with 7 columns and ~600,000 rows. I was hoping to filter the dataset by 2 of the variables. Specifically I only want to include the specific rows which have column variable "Peptide" represented in both of my other column variable "REGION" which has two categoric inputs (say Z and Y). For example in vastly simplified table below, the second row would not be in filtered table since Z is not represented for that peptide.&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PEPTIDE&lt;/TD&gt;&lt;TD&gt;REGION&lt;/TD&gt;&lt;TD&gt;ABUNDANCE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CBS&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CNN&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CNN&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any direction you can provide.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:15:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47839#M27247</guid>
      <dc:creator>JmpJoeLearner2</dc:creator>
      <dc:date>2017-11-29T16:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by col variable by other col variable</title>
      <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47840#M27248</link>
      <description>&lt;P&gt;Go to the pull down menu&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Rows==&amp;gt;Data Filter&lt;/P&gt;
&lt;P&gt;and you will be able to select multiple columns for filtering, and multiple values per filter column&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:23:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47840#M27248</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-11-29T16:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by col variable by other col variable</title>
      <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47842#M27250</link>
      <description>&lt;P&gt;Adding to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;: an implementation in JSL would be of the form :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;dt = Open( "$SAMPLE_DATA/Time Series/Raleigh Temps.jmp" );

// Traditional Slider View 
dt &amp;lt;&amp;lt; Graph Builder(
						Size( 814, 714 ),
						Variables(
							X( :Name( "Month/Year" ) ),
							Y( :Temperature ),
							Y( :Predicted Temperature, Position( 1 ) )
						),
						Elements( Line( X, Y( 1 ), Y( 2 ), Legend( 23 ) ) ),
						Local Data Filter( Conditional, Add Filter( columns( :Month Number ), Display( :Container, Size( 160, 225 ), List Display )) )
					);&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:35:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47842#M27250</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2017-11-29T16:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by col variable by other col variable</title>
      <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47845#M27253</link>
      <description>&lt;P&gt;I had looked at that but when I clicked my 2 variables in the region variable and all the peptides it doesn't select only the rows which have peptides with both region variables, it just selected every row in my dataset. Is there a way for me to achieve greater granularity with that tool?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your input.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:51:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47845#M27253</guid>
      <dc:creator>JmpJoeLearner2</dc:creator>
      <dc:date>2017-11-29T16:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by col variable by other col variable</title>
      <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47846#M27254</link>
      <description>&lt;P&gt;Thanks for the suggestion! Alas, I'm not that familiar with jmp script. Would you be able to break that down further? Understand if that would take too long though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:54:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47846#M27254</guid>
      <dc:creator>JmpJoeLearner2</dc:creator>
      <dc:date>2017-11-29T16:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by col variable by other col variable</title>
      <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47850#M27255</link>
      <description>&lt;P&gt;There is a graph builder option in JMP .&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 684px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8487i915B3329850B78C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once , you open the Graph builder, use the local Data Filter that is provided as highlighted below .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8488i680D66B763577484/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now , what you want to do is , select columns on the basis of which you want to filter under Data Filter and you can achieve what you are after .&amp;nbsp;&lt;BR /&gt;The same can also be achieved through the Tabulate platform where the result is a table and not a graph .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8489i00E590D6F901D560/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:02:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47850#M27255</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2017-11-29T17:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by col variable by other col variable</title>
      <link>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47874#M27265</link>
      <description>&lt;P&gt;To explain a little further with Jim's solution:&lt;/P&gt;
&lt;P&gt;1. With your data table as the current window, click on the data filter icon.&lt;/P&gt;
&lt;P&gt;2. Click on &lt;STRONG&gt;Region&lt;/STRONG&gt; and then &lt;STRONG&gt;Add&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;3. If you want to filter by a second column, click &lt;STRONG&gt;And&lt;/STRONG&gt;, click on &lt;STRONG&gt;Peptide&lt;/STRONG&gt;, then click on &lt;STRONG&gt;Add&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You'll get something like the picture below.&amp;nbsp; I clicked on the &lt;STRONG&gt;Z&lt;/STRONG&gt; region, and then Shift-clicked on &lt;STRONG&gt;ABC&lt;/STRONG&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="TableDataFilter.png" style="width: 742px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8496i0C787C68E7617485/image-size/large?v=v2&amp;amp;px=999" role="button" title="TableDataFilter.png" alt="TableDataFilter.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 19:18:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filtering-by-col-variable-by-other-col-variable/m-p/47874#M27265</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-11-29T19:18:07Z</dc:date>
    </item>
  </channel>
</rss>

