<?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 JMP10: Col Max() and Col Min() functions returned the data from excluded row in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10555#M10218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I used Col Max() and Col Min() function to return the Max/Min value of my specific columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Somehow I disabled the unwanted rows but the Col Max() and Col Min() still returned those excluded value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is this normal? Do you guys have any idea? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;Pichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2015 07:51:49 GMT</pubDate>
    <dc:creator>pichan_p</dc:creator>
    <dc:date>2015-01-12T07:51:49Z</dc:date>
    <item>
      <title>JMP10: Col Max() and Col Min() functions returned the data from excluded row</title>
      <link>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10555#M10218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I used Col Max() and Col Min() function to return the Max/Min value of my specific columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Somehow I disabled the unwanted rows but the Col Max() and Col Min() still returned those excluded value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is this normal? Do you guys have any idea? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;Pichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 07:51:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10555#M10218</guid>
      <dc:creator>pichan_p</dc:creator>
      <dc:date>2015-01-12T07:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: JMP10: Col Max() and Col Min() functions returned the data from excluded row</title>
      <link>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10556#M10219</link>
      <description>&lt;P&gt;This is normal (see explanation on e.g. page 351 in the Scripting Guide).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Col Max() etc. support optional grouping arguments. In a column formula, this trick should work to force exclusion of excluded rows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Maximum( :data, Excluded() )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Aug 2017 21:33:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10556#M10219</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2017-08-18T21:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: JMP10: Col Max() and Col Min() functions returned the data from excluded row</title>
      <link>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10557#M10220</link>
      <description>&lt;P&gt;Sorry to be late to the discussion. Thank you for letting us lurkers know about the additional optional argument to &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #555555;"&gt;Col Maximum( :data, Excluded() ).&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the JMP people are monitoring this, let this be known that the API (application programmer interface) should document all possible arguments to functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myYCol = "My Exposed Column Name";
myYMax = col max(column(myYCol));
print("Max:", myYMax);
myYMax = col max(column(myYCol), Excluded());
print("Max:", myYMax);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first debug print will output a number, but could be a maximum specified in excluded rows.&lt;/P&gt;
&lt;P&gt;The second debut print will output without quotes "." (period). Why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When myYMax is later re-used in a &lt;EM&gt;"SendToReport... Dispatch... ScaleBox {Max( myYMax ), ..."&lt;/EM&gt;, it seems to employ the expected non-excluded maximum value in rendering of the graph.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 21:34:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10557#M10220</guid>
      <dc:creator>glenn_maxey0</dc:creator>
      <dc:date>2017-08-18T21:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: JMP10: Col Max() and Col Min() functions returned the data from excluded row</title>
      <link>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10558#M10221</link>
      <description>&lt;P&gt;The optional By-arguments in ColMax() etc. is only useful in column formulas.&lt;/P&gt;
&lt;P&gt;In a script context you can use summarize() instead. In contrast to the ColStat functions excluded rows are not included in the calculations&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-family: Courier; color: #942193;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myYCol = "My Exposed Column Name";
Summarize(myYMax = Max(Column(myYCol)));
Print("Max:", myYMax);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="font-family: Courier;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 21:35:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP10-Col-Max-and-Col-Min-functions-returned-the-data-from/m-p/10558#M10221</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2017-08-18T21:35:18Z</dc:date>
    </item>
  </channel>
</rss>

