<?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: Setting Value Order or Value Label by Another Column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912535#M107224</link>
    <description>&lt;P&gt;You can do this also manually&lt;/P&gt;
&lt;P&gt;Create summary table (use the statistics as necessary)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1762841667724.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86806i1E28765DC0359E33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1762841667724.png" alt="jthi_0-1762841667724.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sort your data&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1762841712704.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86809iA1FA375CBCFEB296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1762841712704.png" alt="jthi_1-1762841712704.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Set value order to the column you wish to order in the summary table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1762841759628.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86810i5A31E0D487236DAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1762841759628.png" alt="jthi_2-1762841759628.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Copy Column properties from the summary table and paste to your original table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1762841807067.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86811i5BEB2DC7949AF0AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1762841807067.png" alt="jthi_3-1762841807067.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1762841895115.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86813i5B646D3C62182B21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1762841895115.png" alt="jthi_5-1762841895115.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1762841820818.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86812i68B3941C1DAF0831/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1762841820818.png" alt="jthi_4-1762841820818.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(I use modified scripted version of this process)&lt;/P&gt;</description>
    <pubDate>Tue, 11 Nov 2025 06:25:06 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-11-11T06:25:06Z</dc:date>
    <item>
      <title>Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912484#M107216</link>
      <description>&lt;P&gt;I have an interesting value ordering/labeling problem. See attached files. The data come from a gas chromatograph. The order that matters is not the alpha-sort of the name of the compound but the retention time (R.T.). There are 31 compounds = manual value ordering of the Compound column or manual value labeling of either the R.T. or MW Order columns will be painful and error-prone. Anyone working with chromatographic or spectral data probably has the same issue...&lt;BR /&gt;&lt;BR /&gt;Is there a dialog-driven way to set the value labels or order by referring another column as reference?&lt;BR /&gt;&lt;BR /&gt;Alternatively, does anyone have a script that can do this?&lt;BR /&gt;&lt;BR /&gt;I've also posted an anonymized version of the data table.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 20:35:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912484#M107216</guid>
      <dc:creator>markschahl</dc:creator>
      <dc:date>2025-11-10T20:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912495#M107217</link>
      <description>&lt;P&gt;This method assumes you would have to manually add the "MW Order" column, so it just looks at the "R.T" column.&amp;nbsp; No sorting of the table is needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt &amp;lt;&amp;lt; New Column( "Order", numeric, Formula( Col Rank( :R.T. ) ) );
order_list = {};
Wait( 0 );
For Each( {{k, v}, i}, Associative Array( :Order, :Component ), Insert Into( order_list, v ) );
Eval( Eval Expr( :Component &amp;lt;&amp;lt; Set Property( "Value Order", {Custom Order( Expr( order_list ) )}, Common Order( 0 ) ) ) );
dt &amp;lt;&amp;lt; Delete Columns( "Order" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 21:16:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912495#M107217</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2025-11-10T21:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912498#M107219</link>
      <description>&lt;P&gt;Thanks! It worked as intended*&lt;BR /&gt;* need to add as line #2: dt = Current Data Table ();&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 21:25:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912498#M107219</guid>
      <dc:creator>markschahl</dc:creator>
      <dc:date>2025-11-10T21:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912503#M107220</link>
      <description>&lt;P&gt;wow, a very elegant way to map the order from one column to another column!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;order_list={};
For Each( {{k, v}, i}, Associative Array( :Order, :Component ), Insert Into( order_list, v ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;- Associative Array &lt;STRONG&gt;with column references&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;CODE class=" language-jsl"&gt;Associative Array( :Order, :Component ) !!!&lt;/CODE&gt; (--&amp;gt; find the documentation)&lt;BR /&gt;&amp;nbsp; automatically: duplicates get skipped, entries ... ordered by keys&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;CODE class=" language-jsl"&gt;For Each( {{k, v}, i} ... &amp;nbsp;-&amp;gt;&amp;nbsp;{v}&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as an alternative:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Associative Array( :Order, :Component ) &amp;lt;&amp;lt; get values&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 07:14:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912503#M107220</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-11-11T07:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912535#M107224</link>
      <description>&lt;P&gt;You can do this also manually&lt;/P&gt;
&lt;P&gt;Create summary table (use the statistics as necessary)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1762841667724.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86806i1E28765DC0359E33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1762841667724.png" alt="jthi_0-1762841667724.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sort your data&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1762841712704.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86809iA1FA375CBCFEB296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1762841712704.png" alt="jthi_1-1762841712704.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Set value order to the column you wish to order in the summary table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1762841759628.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86810i5A31E0D487236DAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1762841759628.png" alt="jthi_2-1762841759628.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Copy Column properties from the summary table and paste to your original table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1762841807067.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86811i5BEB2DC7949AF0AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1762841807067.png" alt="jthi_3-1762841807067.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1762841895115.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86813i5B646D3C62182B21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1762841895115.png" alt="jthi_5-1762841895115.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1762841820818.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/86812i68B3941C1DAF0831/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1762841820818.png" alt="jthi_4-1762841820818.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(I use modified scripted version of this process)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 06:25:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912535#M107224</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-11T06:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912565#M107226</link>
      <description>&lt;P&gt;As much as I work with associative arrays, I still forget about the &amp;lt;&amp;lt;Get Values message sometimes!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 12:56:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/912565#M107226</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2025-11-11T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/914677#M107493</link>
      <description>&lt;P&gt;application case:&lt;BR /&gt;sort states (with name = Abbreviation) by postal code:&lt;BR /&gt;&lt;LI-MESSAGE title="Graph makeover: Measles heat map" uid="30550" url="https://community.jmp.com/t5/JMP-Blog/Graph-makeover-Measles-heat-map/m-p/30550#U30550" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 12:40:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/914677#M107493</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-11-21T12:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Value Order or Value Label by Another Column</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/921164#M107995</link>
      <description>&lt;P&gt;alternative solution by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/182"&gt;@ms&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/Discussions/how-to-sort-x-axis-by-another-column-value/m-p/442639#M69092" target="_blank" rel="noopener"&gt;how-to-sort-x-axis-by-another-column-value&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Summarize + Rank Index&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 22:02:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-Value-Order-or-Value-Label-by-Another-Column/m-p/921164#M107995</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-23T22:02:00Z</dc:date>
    </item>
  </channel>
</rss>

