<?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: i have data base of production batches and for each different batch i would like to find the max value in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705199#M88971</link>
    <description>&lt;P&gt;There are also two easy interactive solutions for this (other will result in same formula as Jim did provide you with).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Right click on the column header which you wish to use for grouping (batch number) and go to New Formula Column and select Group By&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1701593184188.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59243iEC0677CFF300DE72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1701593184188.png" alt="jthi_0-1701593184188.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Next right click on the column header which you wish to perform the calculation from (time_hour) and New Formula Column / Aggregate / Maximum (note that there is Group By [batch number])&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1701593289668.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59245i478511EFC374BEA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1701593289668.png" alt="jthi_2-1701593289668.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will create you a new formula column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1701593333214.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59246i7CD3EF8E8B79B100/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1701593333214.png" alt="jthi_3-1701593333214.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;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Go to Tables/Summary and use batch number as group and max(time_hour) for statistics&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1701593391781.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59248i7F49F3397DD99D66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1701593391781.png" alt="jthi_4-1701593391781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Press OK to create the summary table (I think Link to original data table must be enabled for this).&lt;/P&gt;
&lt;P&gt;Select the Max(time_hour) column, then click on it again, wait a bit, move your mouse and you should see that it is being moved (this isn't very intuitive how this works)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1701594063840.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59250iDDD88A9AC83866EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1701594063840.png" alt="jthi_5-1701594063840.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now drag and drop this column to your original data table and you should have those same maximum values there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Practicing my "recording skills" so here is a video with both of those options&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6342285395112w400h225r213" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6342285395112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6342285395112w400h225r213');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6342285395112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Dec 2023 09:19:42 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-12-03T09:19:42Z</dc:date>
    <item>
      <title>i have data base of production batches and for each different batch i would like to find the max value</title>
      <link>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705061#M88950</link>
      <description>&lt;P&gt;I have data base of production batches .&lt;/P&gt;&lt;P&gt;For each batch the particle size was measured as a function of time .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a new column in which the maximum time for that batch appears .&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 16:19:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705061#M88950</guid>
      <dc:creator>ymendel</dc:creator>
      <dc:date>2023-12-02T16:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: i have data base of production batches and for each different batch i would like to find the max value</title>
      <link>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705110#M88955</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Max( :time_hour, :batch number )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 02 Dec 2023 17:42:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705110#M88955</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-12-02T17:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: i have data base of production batches and for each different batch i would like to find the max value</title>
      <link>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705117#M88956</link>
      <description>&lt;P&gt;thanks much&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 17:49:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705117#M88956</guid>
      <dc:creator>ymendel</dc:creator>
      <dc:date>2023-12-02T17:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: i have data base of production batches and for each different batch i would like to find the max value</title>
      <link>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705199#M88971</link>
      <description>&lt;P&gt;There are also two easy interactive solutions for this (other will result in same formula as Jim did provide you with).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Right click on the column header which you wish to use for grouping (batch number) and go to New Formula Column and select Group By&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1701593184188.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59243iEC0677CFF300DE72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1701593184188.png" alt="jthi_0-1701593184188.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Next right click on the column header which you wish to perform the calculation from (time_hour) and New Formula Column / Aggregate / Maximum (note that there is Group By [batch number])&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1701593289668.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59245i478511EFC374BEA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1701593289668.png" alt="jthi_2-1701593289668.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will create you a new formula column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1701593333214.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59246i7CD3EF8E8B79B100/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1701593333214.png" alt="jthi_3-1701593333214.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;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Go to Tables/Summary and use batch number as group and max(time_hour) for statistics&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1701593391781.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59248i7F49F3397DD99D66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1701593391781.png" alt="jthi_4-1701593391781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Press OK to create the summary table (I think Link to original data table must be enabled for this).&lt;/P&gt;
&lt;P&gt;Select the Max(time_hour) column, then click on it again, wait a bit, move your mouse and you should see that it is being moved (this isn't very intuitive how this works)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1701594063840.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59250iDDD88A9AC83866EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1701594063840.png" alt="jthi_5-1701594063840.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now drag and drop this column to your original data table and you should have those same maximum values there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Practicing my "recording skills" so here is a video with both of those options&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6342285395112w400h225r136" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6342285395112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6342285395112w400h225r136');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6342285395112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2023 09:19:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/i-have-data-base-of-production-batches-and-for-each-different/m-p/705199#M88971</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-12-03T09:19:42Z</dc:date>
    </item>
  </channel>
</rss>

