<?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: Group data in one column but sort by another in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583809#M78981</link>
    <description>&lt;P&gt;Those tables seem to be from Excel, is a JMP or Excel question?&lt;/P&gt;
&lt;P&gt;If JMP first sort by Percentage column in Descending order and then sort again by Device in descending order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting point:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1671549422721.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48512i17DE9358EF115AE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1671549422721.png" alt="jthi_0-1671549422721.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sort Descending by Column3&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1671549437157.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48513iBC7A13045ACA5406/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1671549437157.png" alt="jthi_1-1671549437157.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sort Descending by Column1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1671549460884.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48514iF7466E34C53F43D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1671549460884.png" alt="jthi_2-1671549460884.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>Tue, 20 Dec 2022 15:19:17 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-12-20T15:19:17Z</dc:date>
    <item>
      <title>Group data in one column but sort by another</title>
      <link>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583784#M78976</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to organize a set of data to group by the device column (ie all the a's are together, b's, etc), but sort them by the percent failed (ie c, F2 would be first followed by the rest of the c rows, then b, F3, and so on) similar to the picture below. When I sort by percent I get the left most table, by device I get the middle table, but I am not sure how to combine the filtering to get the right most table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insights would be greatly appreciated! Thank you.&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="SampleIguana839_0-1671548575093.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48511iB081A630A71A53E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SampleIguana839_0-1671548575093.png" alt="SampleIguana839_0-1671548575093.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:58:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583784#M78976</guid>
      <dc:creator>SampleIguana839</dc:creator>
      <dc:date>2023-06-10T23:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Group data in one column but sort by another</title>
      <link>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583809#M78981</link>
      <description>&lt;P&gt;Those tables seem to be from Excel, is a JMP or Excel question?&lt;/P&gt;
&lt;P&gt;If JMP first sort by Percentage column in Descending order and then sort again by Device in descending order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting point:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1671549422721.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48512i17DE9358EF115AE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1671549422721.png" alt="jthi_0-1671549422721.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sort Descending by Column3&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1671549437157.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48513iBC7A13045ACA5406/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1671549437157.png" alt="jthi_1-1671549437157.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sort Descending by Column1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1671549460884.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48514iF7466E34C53F43D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1671549460884.png" alt="jthi_2-1671549460884.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>Tue, 20 Dec 2022 15:19:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583809#M78981</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-12-20T15:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Group data in one column but sort by another</title>
      <link>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583819#M78982</link>
      <description>&lt;P&gt;Sorry for the confusion I was using generic information in an excel table as an example. That does work, but only if the 'device' column (column 1) with the highest percentage is also at the end of the list. If a 'b' row had the percent highest value, how could you sort it then?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case the descending sort would bring the 'c' group to the top and not have the highest percentage shown first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SampleIguana839_1-1671550650769.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48516i8F1A1A493D1F2274/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SampleIguana839_1-1671550650769.png" alt="SampleIguana839_1-1671550650769.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>Tue, 20 Dec 2022 15:38:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583819#M78982</guid>
      <dc:creator>SampleIguana839</dc:creator>
      <dc:date>2022-12-20T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Group data in one column but sort by another</title>
      <link>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583840#M78985</link>
      <description>&lt;P&gt;Then you could "cheat" and pre-define the &lt;STRONG&gt;device&lt;/STRONG&gt; order:&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1671552777145.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48518i25B896736E8763C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1671552777145.png" alt="hogi_0-1671552777145.png" /&gt;&lt;/span&gt;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or add a column with the additional info:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1671552909528.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48519i04AF5ADB34CDB169/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1671552909528.png" alt="hogi_1-1671552909528.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By the way, you can also sort in a single step by first selecting both columns and then clicking on &lt;STRONG&gt;sort/descending&lt;/STRONG&gt;.&lt;BR /&gt;The columns are used &lt;STRONG&gt;from left to right&lt;/STRONG&gt;, so you have to place the main category column left of the subcategory column:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1671553004772.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48520iD87E8AD3675ACE28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1671553004772.png" alt="hogi_2-1671553004772.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>Tue, 20 Dec 2022 16:18:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Group-data-in-one-column-but-sort-by-another/m-p/583840#M78985</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-12-20T16:18:27Z</dc:date>
    </item>
  </channel>
</rss>

