<?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: Deleting rows with duplicate values in two columns? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Deleting-rows-with-duplicate-values-in-two-columns/m-p/782633#M96633</link>
    <description>&lt;P&gt;Select your columns, Select Duplicate Rows, Delete Rows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1724090499781.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67277i96ECD815C059F402/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1724090499781.png" alt="jthi_0-1724090499781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;JMP is able to write a script for that action to enhanced log / workflow&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Select Duplicate Rows(Match(:ID, :Result)) &amp;lt;&amp;lt; Delete Rows;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Aug 2024 18:02:20 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-08-19T18:02:20Z</dc:date>
    <item>
      <title>Deleting rows with duplicate values in two columns?</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-rows-with-duplicate-values-in-two-columns/m-p/782622#M96632</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Hello,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I need to delete multiple rows from my data table that have duplicate values in two columns I specify while preserving the first instance of the row. In the example below, only the third row would be deleted, as both columns are duplicates of row 1.&amp;nbsp;Since the C rows have different results they would not be deleted, even though the entry is duplicated within the column.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Conversely, it would work to copy all rows that have a unique combination in those two rows into a different location.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The most efficient solution, such as a JMP script, would be preferred as my data table is a couple of thousand rows tall, and I would really prefer not to do this by hand. Let me know if I need to clarify anything. Thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Aug 2024 17:55:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-rows-with-duplicate-values-in-two-columns/m-p/782622#M96632</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-08-19T17:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting rows with duplicate values in two columns?</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-rows-with-duplicate-values-in-two-columns/m-p/782633#M96633</link>
      <description>&lt;P&gt;Select your columns, Select Duplicate Rows, Delete Rows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1724090499781.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67277i96ECD815C059F402/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1724090499781.png" alt="jthi_0-1724090499781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;JMP is able to write a script for that action to enhanced log / workflow&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Select Duplicate Rows(Match(:ID, :Result)) &amp;lt;&amp;lt; Delete Rows;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Aug 2024 18:02:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-rows-with-duplicate-values-in-two-columns/m-p/782633#M96633</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-19T18:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting rows with duplicate values in two columns?</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-rows-with-duplicate-values-in-two-columns/m-p/782635#M96634</link>
      <description>&lt;P&gt;Oh, that's super easy thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 18:26:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-rows-with-duplicate-values-in-two-columns/m-p/782635#M96634</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-08-19T18:26:40Z</dc:date>
    </item>
  </channel>
</rss>

