<?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 Pulling Row Data for each Max Value from a Column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Pulling-Row-Data-for-each-Max-Value-from-a-Column/m-p/667350#M85543</link>
    <description>&lt;P&gt;I have a table with the first column being my time varying X-axis variable and all the remaining columns being the Y-axis response columns. I'm looking to create a subset table based on the Maximum value of each Y-axis column. I.E. The subset table should be all the rows in the original table that have a Maximum value in one of the corresponding Y-axis columns. That way I can compare at what X-axis value all of my Y-axis maximums occurred. (Even better would be the X-axis value paired with the single Y-axis maximum, but we'll get there later)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a simple way to do this through Summary or Subset tables?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 19:20:08 GMT</pubDate>
    <dc:creator>BatteryTamer359</dc:creator>
    <dc:date>2023-08-10T19:20:08Z</dc:date>
    <item>
      <title>Pulling Row Data for each Max Value from a Column</title>
      <link>https://community.jmp.com/t5/Discussions/Pulling-Row-Data-for-each-Max-Value-from-a-Column/m-p/667350#M85543</link>
      <description>&lt;P&gt;I have a table with the first column being my time varying X-axis variable and all the remaining columns being the Y-axis response columns. I'm looking to create a subset table based on the Maximum value of each Y-axis column. I.E. The subset table should be all the rows in the original table that have a Maximum value in one of the corresponding Y-axis columns. That way I can compare at what X-axis value all of my Y-axis maximums occurred. (Even better would be the X-axis value paired with the single Y-axis maximum, but we'll get there later)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a simple way to do this through Summary or Subset tables?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 19:20:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Pulling-Row-Data-for-each-Max-Value-from-a-Column/m-p/667350#M85543</guid>
      <dc:creator>BatteryTamer359</dc:creator>
      <dc:date>2023-08-10T19:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Row Data for each Max Value from a Column</title>
      <link>https://community.jmp.com/t5/Discussions/Pulling-Row-Data-for-each-Max-Value-from-a-Column/m-p/667368#M85544</link>
      <description>&lt;P&gt;I think using Stacked column might be the easiest option if I understand correctly what you want.&lt;/P&gt;
&lt;P&gt;Start data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1691696648010.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55701i80D80F6866E6BD40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1691696648010.png" alt="jthi_0-1691696648010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stack the data columns (column 2 and column 3):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1691696669021.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55702iC5CBDD0732E1B61B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1691696669021.png" alt="jthi_1-1691696669021.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Add new formula column to check if row is max for specific Label&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Data == Col Max(:Data, :Label)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;From here you have 1 on those rows which are maximum for labels&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1691696719793.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55703iC16A51BF19F47412/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1691696719793.png" alt="jthi_2-1691696719793.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 19:45:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Pulling-Row-Data-for-each-Max-Value-from-a-Column/m-p/667368#M85544</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-10T19:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling Row Data for each Max Value from a Column</title>
      <link>https://community.jmp.com/t5/Discussions/Pulling-Row-Data-for-each-Max-Value-from-a-Column/m-p/667374#M85545</link>
      <description>&lt;P&gt;Yup, that's what I was looking for. I like the Stacked idea. I was just playing with using a Formula to add the flags, but I think the Stacked column would make that cleaner!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BatteryTamer359_0-1691698141422.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55704i6C91283701CC34B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BatteryTamer359_0-1691698141422.png" alt="BatteryTamer359_0-1691698141422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 20:09:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Pulling-Row-Data-for-each-Max-Value-from-a-Column/m-p/667374#M85545</guid>
      <dc:creator>BatteryTamer359</dc:creator>
      <dc:date>2023-08-10T20:09:50Z</dc:date>
    </item>
  </channel>
</rss>

