<?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 How do I create a new table using another columns?(get columns from different tables) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-new-table-using-another-columns-get-columns/m-p/717745#M89940</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt1 = Open( "$SAMPLE_DATA/Iris.jmp" );

New Table( "Merge Columns",
	Add columns( 3 ),
	Add rows(100),
	New Column( "1st",
		
		Set Values( column(dt, 3 ) )
	),
	New Column( "2nd",
		
		Set Values( column(dt, 1) )
	),
	New Column( "3rd",
	
		Set Values( column(dt1, 1) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a new table getting another columns by different tables.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 09:46:10 GMT</pubDate>
    <dc:creator>NetflixDingo567</dc:creator>
    <dc:date>2024-01-18T09:46:10Z</dc:date>
    <item>
      <title>How do I create a new table using another columns?(get columns from different tables)</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-new-table-using-another-columns-get-columns/m-p/717745#M89940</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt1 = Open( "$SAMPLE_DATA/Iris.jmp" );

New Table( "Merge Columns",
	Add columns( 3 ),
	Add rows(100),
	New Column( "1st",
		
		Set Values( column(dt, 3 ) )
	),
	New Column( "2nd",
		
		Set Values( column(dt, 1) )
	),
	New Column( "3rd",
	
		Set Values( column(dt1, 1) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a new table getting another columns by different tables.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:46:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-new-table-using-another-columns-get-columns/m-p/717745#M89940</guid>
      <dc:creator>NetflixDingo567</dc:creator>
      <dc:date>2024-01-18T09:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a new table using another columns?(get columns from different tables)</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-new-table-using-another-columns-get-columns/m-p/717753#M89941</link>
      <description>&lt;P&gt;Join is most likely the best option (match by row number if you don't have any column to use).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1705571641478.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60406i9FFB6338B82CAEDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1705571641478.png" alt="jthi_0-1705571641478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then delete extra rows you don't need&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 09:54:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-new-table-using-another-columns-get-columns/m-p/717753#M89941</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-01-18T09:54:49Z</dc:date>
    </item>
  </channel>
</rss>

