<?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: Merging tables with virtual joins in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Merging-tables-with-virtual-joins/m-p/844866#M101928</link>
    <description>&lt;P&gt;and the data tables if someone needs them&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 17:56:56 GMT</pubDate>
    <dc:creator>KasperSchlosser</dc:creator>
    <dc:date>2025-02-27T17:56:56Z</dc:date>
    <item>
      <title>Merging tables with virtual joins</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-tables-with-virtual-joins/m-p/844856#M101927</link>
      <description>&lt;P&gt;Hello JMP community&lt;/P&gt;&lt;P&gt;I was wondering if any had a solution to this problem.&lt;/P&gt;&lt;P&gt;the basic problem is just adding adding the columns from one data table to another, but with some caveats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made some example data to illustrate the problem.&lt;/P&gt;&lt;P&gt;Here i have 2 data tables, each with some data and scripts. I now want to combine them into one big data table with everything&lt;/P&gt;&lt;P&gt;One problem is the name collision. so just copying the columns over, concatenating or the "update" option in tables would not work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasperSchlosser_1-1740676199892.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73443iEA45B2C26197DA55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasperSchlosser_1-1740676199892.png" alt="KasperSchlosser_1-1740676199892.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The best choice seem to be do a join, and this does work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasperSchlosser_5-1740677681777.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73447iC59334FB424C55F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasperSchlosser_5-1740677681777.png" alt="KasperSchlosser_5-1740677681777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the formula columns still work, the name collision is handled and the saved table scripts are even updated to the changed column names.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasperSchlosser_6-1740677861635.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73448iE81EBBF3B0C46B5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasperSchlosser_6-1740677861635.png" alt="KasperSchlosser_6-1740677861635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Except the original tables were virtually joined to other tables.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasperSchlosser_7-1740678068686.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73449iB7F488BDA4D35F19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasperSchlosser_7-1740678068686.png" alt="KasperSchlosser_7-1740678068686.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="KasperSchlosser_8-1740678080889.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73450iCA30A2FA6DEF4AB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasperSchlosser_8-1740678080889.png" alt="KasperSchlosser_8-1740678080889.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this link is lost on joining the tables&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasperSchlosser_9-1740678180308.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73451i4A4BA13F36856CAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasperSchlosser_9-1740678180308.png" alt="KasperSchlosser_9-1740678180308.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;simply adding the link back does not work, as the formula columns, that relied on a linked column, still refer to the old column&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasperSchlosser_10-1740678306777.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73452i378C4DC8311193CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasperSchlosser_10-1740678306777.png" alt="KasperSchlosser_10-1740678306777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This example is quite simple, so just manually updating would be possible.&lt;/P&gt;&lt;P&gt;the real use case would be more complicated, so trying to fix the table after joining does not seem feasible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b.r.&lt;/P&gt;&lt;P&gt;Kasper&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 17:54:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-tables-with-virtual-joins/m-p/844856#M101927</guid>
      <dc:creator>KasperSchlosser</dc:creator>
      <dc:date>2025-02-27T17:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Merging tables with virtual joins</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-tables-with-virtual-joins/m-p/844866#M101928</link>
      <description>&lt;P&gt;and the data tables if someone needs them&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 17:56:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-tables-with-virtual-joins/m-p/844866#M101928</guid>
      <dc:creator>KasperSchlosser</dc:creator>
      <dc:date>2025-02-27T17:56:56Z</dc:date>
    </item>
  </channel>
</rss>

