<?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: Matching 2 tables using Table\Join and Table\Update without success in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937035#M109228</link>
    <description>&lt;P&gt;I would most likely attempt doing this as a workflow. You can of course go directly with JSL if you can write such a script&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 06:36:10 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2026-03-24T06:36:10Z</dc:date>
    <item>
      <title>Matching 2 tables using Table\Join and Table\Update without success</title>
      <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/936928#M109209</link>
      <description>&lt;P&gt;Attached are Tables A, B and C.&lt;/P&gt;
&lt;P&gt;Table A has 30 entries by Peter.&lt;/P&gt;
&lt;P&gt;Table B has 8,790 entries by Jane.&lt;/P&gt;
&lt;P&gt;Table C is the correct joined table done manually.&lt;/P&gt;
&lt;P&gt;I want to match the entries by Peter and Jane and create a subset only with "Locations" in Table A, thus Table C.&lt;/P&gt;
&lt;P&gt;I had used&amp;nbsp;Table\Join and Table\Update but the results were not accurate.&lt;/P&gt;
&lt;P&gt;For example, if you use the Location=-216,161, below should be the output of the joined table ...&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Location&amp;nbsp; &amp;nbsp;Peter&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jane&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-216,161&amp;nbsp; &amp;nbsp; &amp;nbsp;RDL_Membrane&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RDL_Membrane&lt;/P&gt;
&lt;P&gt;-216,161&amp;nbsp; &amp;nbsp; &amp;nbsp;RDL_Membrane&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/P&gt;
&lt;P&gt;-216,161&amp;nbsp; &amp;nbsp; &amp;nbsp;Debris&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Debris&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 18:18:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/936928#M109209</guid>
      <dc:creator>cchueng</dc:creator>
      <dc:date>2026-03-23T18:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 tables using Table\Join and Table\Update without success</title>
      <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/936957#M109211</link>
      <description>&lt;P&gt;Join/update is working correctly as there are multiple matches. You most likely will have to add some value removal to remove those "extra" values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96874i1D3AD90A07E6934B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 18:40:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/936957#M109211</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-03-23T18:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 tables using Table\Join and Table\Update without success</title>
      <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/936992#M109223</link>
      <description>&lt;P&gt;Hello Jarmo,&lt;/P&gt;
&lt;P&gt;Your output is not correct. For Location=&lt;SPAN&gt;-216,161 , Peter has 3 outputs and Jane has 2 outputs. The outcome should be as below. How would you write a jsl to automate it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Location&amp;nbsp; &amp;nbsp;Peter&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jane&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-216,161&amp;nbsp; &amp;nbsp; &amp;nbsp;RDL_Membrane&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RDL_Membrane&lt;/P&gt;
&lt;P&gt;-216,161&amp;nbsp; &amp;nbsp; &amp;nbsp;RDL_Membrane&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/P&gt;
&lt;P&gt;-216,161&amp;nbsp; &amp;nbsp; &amp;nbsp;Debris&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Debris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 22:31:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/936992#M109223</guid>
      <dc:creator>cchueng</dc:creator>
      <dc:date>2026-03-23T22:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 tables using Table\Join and Table\Update without success</title>
      <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937027#M109226</link>
      <description>&lt;P&gt;That output is correct for a join/update but it might not be what you are looking for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Create duplicate column of Jane to Table B&lt;/P&gt;
&lt;P&gt;2. Use that new column (Column 3 in my case) as matching column for update&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96908iA23B9FFA66108F81/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Select Location and Jane columns, Rows &amp;gt; Row Selection &amp;gt; Delete Duplicate&lt;/P&gt;
&lt;P&gt;4. Select only Jane column (click column header (sometimes you have to hold alt)) and delete those values (press delete)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 784px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96909i1146C072DE712D21/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.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="image.png" style="width: 784px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96910i58690E5ACDA54A7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 05:22:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937027#M109226</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-03-24T05:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 tables using Table\Join and Table\Update without success</title>
      <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937028#M109227</link>
      <description>&lt;P&gt;I am looking to do the above by jsl. Also, the data set will change and there will be times when Jane's column will be a duplicate and that is fine.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 05:37:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937028#M109227</guid>
      <dc:creator>cchueng</dc:creator>
      <dc:date>2026-03-24T05:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 tables using Table\Join and Table\Update without success</title>
      <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937035#M109228</link>
      <description>&lt;P&gt;I would most likely attempt doing this as a workflow. You can of course go directly with JSL if you can write such a script&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 06:36:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937035#M109228</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-03-24T06:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 tables using Table\Join and Table\Update without success</title>
      <link>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937076#M109234</link>
      <description>&lt;P&gt;Would you consider first changing the formatting of your data? In my experience, sometimes it is easier to reformat the data into a more analysis-friendly form, rather than to use complex scripting to adapt the analysis to your data format. Having multiple rows corresponding to a particular location (Tall format) works in many cases, but becomes tricky when there are also duplicate observations (i.e. multiple rows that are completely identical). JMP does not always know how it should handle such duplicates, so it may not give you the results you expect when joining.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example: would you consider changing the format from Tall to Wide? Something like this is common in, for example, semiconductor inspection/test data when there are multiple error categories or yield ranks:&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Local( {obj},
	obj = Data Table( "Table A" ) &amp;lt;&amp;lt; Tabulate(
		Add Table(
			Column Table(
				Grouping Columns( :Peter ),
				Add Aggregate Statistics( :Peter )
			),
			Row Table( Grouping Columns( :Location ) )
		)
	);
	obj &amp;lt;&amp;lt; Make Into Data Table;
	obj &amp;lt;&amp;lt; Close Window;
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV id="tinyMceEditor_1258e3c518cd13christianz_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;Resulting in a table like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 384px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96938iEE4B61B81F62109F/image-dimensions/384x168?v=v2" width="384" height="168" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Combining tables in this format for both operators would be much easier.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option you might consider is the Multiple Response modeling type. For example:&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Data Table( "Table A" ) &amp;lt;&amp;lt; Split(
	Split By( :Peter ),
	Split( :Peter ),
	Group( :Location ),
	Output Table( "Split of Table A by Peter" ),
	Sort by Column Property
);

// New formula column: Concatenate[BL_Twin,Debris,Good_FS,Probemarks,RDL_Membrane,RDL_SpotsDark]
dt &amp;lt;&amp;lt;
New Formula Column(
	Operation( Category( "Character" ), "Concatenate with Comma" ),
	Columns(
		:BL_Twin, :Debris, :Good_FS, :Probemarks, :RDL_Membrane, :RDL_SpotsDark
	)
) &amp;lt;&amp;lt; Run Formulas;

dt:"Concatenate[BL_Twin,Debris,Good_FS,Probemarks,RDL_Membrane,RDL_SpotsDark]"n &amp;lt;&amp;lt;
Set Modeling Type( "Multiple Response" );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;which looks like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 356px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96940iEEE100E897AFB2DE/image-dimensions/356x388?v=v2" width="356" height="388" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 08:56:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Matching-2-tables-using-Table-Join-and-Table-Update-without/m-p/937076#M109234</guid>
      <dc:creator>christian-z</dc:creator>
      <dc:date>2026-03-24T08:56:56Z</dc:date>
    </item>
  </channel>
</rss>

