<?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 Summary and Sorting - Sorting not working in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450324#M69709</link>
    <description>&lt;P&gt;I have a data table where I am wanting to calculate mean, and have the output sorted (Descending) from a grouped column.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example&lt;/P&gt;&lt;P&gt;I.e., Data table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_0-1641851082378.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38886i864C2A7CDE0D4FF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_0-1641851082378.png" alt="justvince_0-1641851082378.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I summarize as follows:&lt;/P&gt;&lt;P&gt;Data Table( "Example_DT" ) &amp;lt;&amp;lt; Summary(&lt;BR /&gt;Group( :i, :f, :g, :h ),&lt;BR /&gt;Order( Descending, Descending, Descending, Descending ),&lt;BR /&gt;Mean( :Values ),&lt;BR /&gt;Freq( "None" ),&lt;BR /&gt;Weight( "None" )&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;i.e., Selecting Descending&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_3-1641852202649.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38889iE16B20DD7D74437B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_3-1641852202649.png" alt="justvince_3-1641852202649.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output is incorrect:&amp;nbsp; Shouldn't Column "i" start with 4 and descend down to 1?&amp;nbsp; (This is the problem I am having with my large data table)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_1-1641851257020.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38887i0FD5D5B7A130A1E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_1-1641851257020.png" alt="justvince_1-1641851257020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try to sort by saying I want column i in ascending order it produces the same table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Table( "Example_DT" ) &amp;lt;&amp;lt; Summary(&lt;BR /&gt;Group( :i, :f, :g, :h ),&lt;BR /&gt;Order( Ascending, Ascending, Ascending, Ascending ),&lt;BR /&gt;Mean( :Values ),&lt;BR /&gt;Freq( "None" ),&lt;BR /&gt;Weight( "None" )&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_2-1641851482920.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38888i979DF7CFA5C95743/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_2-1641851482920.png" alt="justvince_2-1641851482920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using JMP 16.2.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:42:20 GMT</pubDate>
    <dc:creator>justvince</dc:creator>
    <dc:date>2023-06-10T23:42:20Z</dc:date>
    <item>
      <title>Summary and Sorting - Sorting not working</title>
      <link>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450324#M69709</link>
      <description>&lt;P&gt;I have a data table where I am wanting to calculate mean, and have the output sorted (Descending) from a grouped column.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example&lt;/P&gt;&lt;P&gt;I.e., Data table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_0-1641851082378.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38886i864C2A7CDE0D4FF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_0-1641851082378.png" alt="justvince_0-1641851082378.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I summarize as follows:&lt;/P&gt;&lt;P&gt;Data Table( "Example_DT" ) &amp;lt;&amp;lt; Summary(&lt;BR /&gt;Group( :i, :f, :g, :h ),&lt;BR /&gt;Order( Descending, Descending, Descending, Descending ),&lt;BR /&gt;Mean( :Values ),&lt;BR /&gt;Freq( "None" ),&lt;BR /&gt;Weight( "None" )&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;i.e., Selecting Descending&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_3-1641852202649.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38889iE16B20DD7D74437B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_3-1641852202649.png" alt="justvince_3-1641852202649.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output is incorrect:&amp;nbsp; Shouldn't Column "i" start with 4 and descend down to 1?&amp;nbsp; (This is the problem I am having with my large data table)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_1-1641851257020.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38887i0FD5D5B7A130A1E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_1-1641851257020.png" alt="justvince_1-1641851257020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try to sort by saying I want column i in ascending order it produces the same table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Table( "Example_DT" ) &amp;lt;&amp;lt; Summary(&lt;BR /&gt;Group( :i, :f, :g, :h ),&lt;BR /&gt;Order( Ascending, Ascending, Ascending, Ascending ),&lt;BR /&gt;Mean( :Values ),&lt;BR /&gt;Freq( "None" ),&lt;BR /&gt;Weight( "None" )&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justvince_2-1641851482920.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38888i979DF7CFA5C95743/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_2-1641851482920.png" alt="justvince_2-1641851482920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using JMP 16.2.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:42:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450324#M69709</guid>
      <dc:creator>justvince</dc:creator>
      <dc:date>2023-06-10T23:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Summary and Sorting - Sorting not working</title>
      <link>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450343#M69710</link>
      <description>&lt;P&gt;You have intermixed the control statements for Summary and Sorting platforms.&amp;nbsp; They need to be separate steps.&amp;nbsp; Here is the way I handle what you want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

Data Table( "Example_DT" ) &amp;lt;&amp;lt; Summary(
	Group( :i, :f, :g, :h ), 
	Mean( :Values ),
	Freq( "None" ),
	Weight( "None" )
);

Data Table( "Example_DT By (i, f, g, h)" ) &amp;lt;&amp;lt; sort(
	Replace Table( 1 ),
	By( :i, :f, :g, :h ),
	Order( Descending, Descending, Descending, Descending )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jan 2022 23:27:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450343#M69710</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-01-10T23:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Summary and Sorting - Sorting not working</title>
      <link>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450345#M69711</link>
      <description>&lt;P&gt;Well... it was not I who intermixed the control statements.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The user interface for creating a summary table has the options built in for the groups to be able to sort (Ascending/Descending).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The summarized data table "source" script has the script that I copied above including the Order.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this may have worked in past JMP versions, because I am just now finding out this is not working... (I could be wrong, but don't think so).&amp;nbsp;&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="justvince_0-1641857645874.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38890i6E6AA586B7BD2774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justvince_0-1641857645874.png" alt="justvince_0-1641857645874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 23:40:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450345#M69711</guid>
      <dc:creator>justvince</dc:creator>
      <dc:date>2022-01-10T23:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Summary and Sorting - Sorting not working</title>
      <link>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450351#M69715</link>
      <description>&lt;P&gt;I was not aware of the options, but as you found, they do not appear to work.&amp;nbsp; I would submit the issue to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;support@jmp.com&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 01:44:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450351#M69715</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-01-11T01:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Summary and Sorting - Sorting not working</title>
      <link>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450671#M69751</link>
      <description>&lt;P&gt;Thanks! JMP is now aware of the bug.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 23:03:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Summary-and-Sorting-Sorting-not-working/m-p/450671#M69751</guid>
      <dc:creator>justvince</dc:creator>
      <dc:date>2022-01-11T23:03:53Z</dc:date>
    </item>
  </channel>
</rss>

