<?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: delete specefic row in column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/475863#M72038</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

// Select the rows that meet the qualification
dt &amp;lt;&amp;lt; select where( Left( :Order Number, 5 ) == "00097" );

// delete the selected rows.  Using the Try() function keeps
// the deletion from failing if no rows were selected
Try( dt &amp;lt;&amp;lt; delete rows );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 04 Apr 2022 13:20:45 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-04-04T13:20:45Z</dc:date>
    <item>
      <title>delete specefic row in column</title>
      <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/475779#M72034</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I would like to delete the lines starting with "00097" how to do?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NetflixCrow956_1-1649074789463.png" style="width: 232px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41455i988A925346E30E56/image-dimensions/232x744?v=v2" width="232" height="744" role="button" title="NetflixCrow956_1-1649074789463.png" alt="NetflixCrow956_1-1649074789463.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>Fri, 09 Jun 2023 16:55:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/475779#M72034</guid>
      <dc:creator>NetflixCrow956</dc:creator>
      <dc:date>2023-06-09T16:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: delete specefic row in column</title>
      <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/475863#M72038</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

// Select the rows that meet the qualification
dt &amp;lt;&amp;lt; select where( Left( :Order Number, 5 ) == "00097" );

// delete the selected rows.  Using the Try() function keeps
// the deletion from failing if no rows were selected
Try( dt &amp;lt;&amp;lt; delete rows );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:20:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/475863#M72038</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-04-04T13:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: delete specefic row in column</title>
      <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/475900#M72045</link>
      <description>&lt;P&gt;Here is one more option using get rows where() in combination with starts with() to get rows into a matrix and then deleting them with delete rows().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Script below will remove all names which start with "J" in Big Class datatable:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
rows_to_delete = dt &amp;lt;&amp;lt; Get Rows Where(Starts With(:name, "J"));
If(N Items(rows_to_delete),
	dt &amp;lt;&amp;lt; Delete Rows(rows_to_delete);
	show(rows_to_delete);
);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Apr 2022 14:30:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/475900#M72045</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-04-04T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: delete specefic row in column</title>
      <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476047#M72056</link>
      <description>&lt;P&gt;If you didn't want to use JSL to solve the problem, then a formula column could help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similar to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;solution, make a new column, and paste this formula into it.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-jsl"&gt;&lt;CODE&gt;Left( :Order Number, 5 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then in your data table, click on the one row that has 00097 to select it, then use the right click option to Select Matching Rows.&lt;/P&gt;
&lt;P&gt;Once they are selected you can either delete those rows, or right click to Exclude/Hide them, so that you preserve all of your original data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 18:20:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476047#M72056</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2022-04-04T18:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: delete specefic row in column</title>
      <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476071#M72066</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 05:23:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476071#M72066</guid>
      <dc:creator>NetflixCrow956</dc:creator>
      <dc:date>2022-04-05T05:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: delete specefic row in column</title>
      <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476072#M72067</link>
      <description>&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 05:23:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476072#M72067</guid>
      <dc:creator>NetflixCrow956</dc:creator>
      <dc:date>2022-04-05T05:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: delete specefic row in column</title>
      <link>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476073#M72068</link>
      <description>&lt;P&gt;Thank you !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 05:24:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/delete-specefic-row-in-column/m-p/476073#M72068</guid>
      <dc:creator>NetflixCrow956</dc:creator>
      <dc:date>2022-04-05T05:24:38Z</dc:date>
    </item>
  </channel>
</rss>

