<?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: How to Add text in Tabulate. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Add-text-in-Tabulate/m-p/739384#M92118</link>
    <description>&lt;P&gt;Here is my alternative way of approaching this request, by using some JSL to create a Table Box&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1711571078457.png" style="width: 290px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62745i04776AD35B1414A4/image-dimensions/290x360?v=v2" width="290" height="360" role="button" title="txnelson_0-1711571078457.png" alt="txnelson_0-1711571078457.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = New Table( "JMP Help",
	Add Rows( 9 ),
	New Column( "Run",
		Numeric,
		"Ordinal",
		Format( "Best", 12 ),
		Formula( Col Cumulative Sum( 1, :Serial Number ) ),
		Set Display Width( 38 )
	),
	New Column( "Serial Number",
		Character( 4 ),
		Set Values(
			{"1001", "1001", "1001", "1002", "1002", "1002", "1003", "1003", "1003"}
		),
		Set Display Width( 81 )
	),
	New Column( "Failure Bin",
		Character( 1 ),
		Set Values( {"A", "A", "B", "A", "B", "B", "C", "C", "A"} ),
		Set Display Width( 59 )
	)
);

dtSplit = dt &amp;lt;&amp;lt; Split(
	Split By( :Run ),
	Split( :Failure Bin ),
	Group( :Serial Number ),
	Output Table( "Split" ),
	Sort by Column Property
);

nw = New Window( "Tabulate",
	tb = Table Box(
		Col Span Box(
			"",
			sn = String Col Box( "Serial Number",
				dtSplit:Serial Number &amp;lt;&amp;lt; get values
			)
		),
		Col Span Box(
			"Run",
			scb1 = String Col Box( "1", dtSplit:"1"n &amp;lt;&amp;lt; get values ),
			scb2 = String Col Box( "2", dtSplit:"2"n &amp;lt;&amp;lt; get values ),
			scb3 = String Col Box( "3", dtSplit:"3"n &amp;lt;&amp;lt; get values )
		)
	)
);
sn &amp;lt;&amp;lt; set width( 100 );
scb1 &amp;lt;&amp;lt; set width( 30 ) &amp;lt;&amp;lt; set justify( "center" );
scb2 &amp;lt;&amp;lt; set width( 30 ) &amp;lt;&amp;lt; set justify( "center" );
scb3 &amp;lt;&amp;lt; set width( 30 ) &amp;lt;&amp;lt; set justify( "center" );
tb &amp;lt;&amp;lt; Set Row Borders( 1 );
tb &amp;lt;&amp;lt; Set Column Borders( 1 );

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2024 20:26:11 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-03-27T20:26:11Z</dc:date>
    <item>
      <title>How to Add text in Tabulate.</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Add-text-in-Tabulate/m-p/739343#M92108</link>
      <description>&lt;P&gt;I am trying to put failure bin, which is alphabetic in the tabulate. Is there any work around to achieve this?&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="ConfidenceOwl94_0-1711556545472.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62728iA1F2B1975A4DE94F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ConfidenceOwl94_0-1711556545472.png" alt="ConfidenceOwl94_0-1711556545472.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 16:23:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Add-text-in-Tabulate/m-p/739343#M92108</guid>
      <dc:creator>ConfidenceOwl94</dc:creator>
      <dc:date>2024-03-27T16:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add text in Tabulate.</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Add-text-in-Tabulate/m-p/739351#M92110</link>
      <description>&lt;P&gt;I'm not sure if you can get that type of result using Tabulate (&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/tabulate.shtml#" target="_blank" rel="noopener"&gt;&lt;EM&gt;use the &lt;SPAN class="Search_Result_Highlight"&gt;Tabulate&lt;/SPAN&gt; platform to interactively construct summary tables, or pivot tables, of descriptive statistics&lt;/EM&gt;&lt;/A&gt;), but you can create similar table using Split or Transpose&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1711557021674.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62729i3CC106E2F90AAE57/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1711557021674.png" alt="jthi_0-1711557021674.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_1-1711557262151.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62730i84A513F1E67E30F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_1-1711557262151.png" alt="jthi_1-1711557262151.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and then rename those 1 2 3 to Run1, Run2, Run3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With tabulate you will end up with something like &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1711557578843.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62731i7FA54E3C4F1689E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1711557578843.png" alt="jthi_2-1711557578843.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_3-1711557588960.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62732iB0216D5F804759C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1711557588960.png" alt="jthi_3-1711557588960.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-1711557598006.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62733iA2D7117954803890/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1711557598006.png" alt="jthi_4-1711557598006.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>Wed, 27 Mar 2024 16:43:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Add-text-in-Tabulate/m-p/739351#M92110</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-27T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add text in Tabulate.</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Add-text-in-Tabulate/m-p/739384#M92118</link>
      <description>&lt;P&gt;Here is my alternative way of approaching this request, by using some JSL to create a Table Box&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1711571078457.png" style="width: 290px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62745i04776AD35B1414A4/image-dimensions/290x360?v=v2" width="290" height="360" role="button" title="txnelson_0-1711571078457.png" alt="txnelson_0-1711571078457.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = New Table( "JMP Help",
	Add Rows( 9 ),
	New Column( "Run",
		Numeric,
		"Ordinal",
		Format( "Best", 12 ),
		Formula( Col Cumulative Sum( 1, :Serial Number ) ),
		Set Display Width( 38 )
	),
	New Column( "Serial Number",
		Character( 4 ),
		Set Values(
			{"1001", "1001", "1001", "1002", "1002", "1002", "1003", "1003", "1003"}
		),
		Set Display Width( 81 )
	),
	New Column( "Failure Bin",
		Character( 1 ),
		Set Values( {"A", "A", "B", "A", "B", "B", "C", "C", "A"} ),
		Set Display Width( 59 )
	)
);

dtSplit = dt &amp;lt;&amp;lt; Split(
	Split By( :Run ),
	Split( :Failure Bin ),
	Group( :Serial Number ),
	Output Table( "Split" ),
	Sort by Column Property
);

nw = New Window( "Tabulate",
	tb = Table Box(
		Col Span Box(
			"",
			sn = String Col Box( "Serial Number",
				dtSplit:Serial Number &amp;lt;&amp;lt; get values
			)
		),
		Col Span Box(
			"Run",
			scb1 = String Col Box( "1", dtSplit:"1"n &amp;lt;&amp;lt; get values ),
			scb2 = String Col Box( "2", dtSplit:"2"n &amp;lt;&amp;lt; get values ),
			scb3 = String Col Box( "3", dtSplit:"3"n &amp;lt;&amp;lt; get values )
		)
	)
);
sn &amp;lt;&amp;lt; set width( 100 );
scb1 &amp;lt;&amp;lt; set width( 30 ) &amp;lt;&amp;lt; set justify( "center" );
scb2 &amp;lt;&amp;lt; set width( 30 ) &amp;lt;&amp;lt; set justify( "center" );
scb3 &amp;lt;&amp;lt; set width( 30 ) &amp;lt;&amp;lt; set justify( "center" );
tb &amp;lt;&amp;lt; Set Row Borders( 1 );
tb &amp;lt;&amp;lt; Set Column Borders( 1 );

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 20:26:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Add-text-in-Tabulate/m-p/739384#M92118</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-03-27T20:26:11Z</dc:date>
    </item>
  </channel>
</rss>

