<?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 selected data in the cell in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Delete-selected-data-in-the-cell/m-p/603347#M80652</link>
    <description>&lt;P&gt;Build your condition statements and combine them with and/or. Then get rows of interest and use that to clear rows. Below are few a bit different options&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

//option1
rows_to_set_missing = dt &amp;lt;&amp;lt; Get Rows Where(:age &amp;gt;= 13 &amp;amp; :sex == "F" &amp;amp;  :weight &amp;lt; 100);
If(N Rows(rows_to_set_missing) &amp;gt; 0,
	dt[rows_to_set_missing, "weight"] = .;
);	

stop();
// option2
Column(dt, "weight") &amp;lt;&amp;lt; Set Each Value(
	If(:age &amp;gt;= 13 &amp;amp; :sex == "F" &amp;amp;  :weight &amp;lt; 100,
		.
	,
		:weight
	);
);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 Feb 2023 09:45:26 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-02-21T09:45:26Z</dc:date>
    <item>
      <title>Delete selected data in the cell</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-selected-data-in-the-cell/m-p/603326#M80650</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have table and I would like to delete specific data in cell.&lt;/P&gt;&lt;P&gt;for example with this condition as well:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) if CORNER = VMAX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) if MODUL = IIH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) if PARAMETR = GPIO &amp;amp; MIPI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) if LO_LIMIT is not 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Delete the data of LO_LIMIT for these criteria&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_0-1676967852180.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50311iE01C08577F601033/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_0-1676967852180.png" alt="Dennisbur_0-1676967852180.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;at the end I would like to receive data table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_1-1676968106179.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50312i5CEDB52E01B77154/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_1-1676968106179.png" alt="Dennisbur_1-1676968106179.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you assist me in JSL script for this task?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:34:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-selected-data-in-the-cell/m-p/603326#M80650</guid>
      <dc:creator>Dennisbur</dc:creator>
      <dc:date>2023-06-08T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Delete selected data in the cell</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-selected-data-in-the-cell/m-p/603347#M80652</link>
      <description>&lt;P&gt;Build your condition statements and combine them with and/or. Then get rows of interest and use that to clear rows. Below are few a bit different options&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

//option1
rows_to_set_missing = dt &amp;lt;&amp;lt; Get Rows Where(:age &amp;gt;= 13 &amp;amp; :sex == "F" &amp;amp;  :weight &amp;lt; 100);
If(N Rows(rows_to_set_missing) &amp;gt; 0,
	dt[rows_to_set_missing, "weight"] = .;
);	

stop();
// option2
Column(dt, "weight") &amp;lt;&amp;lt; Set Each Value(
	If(:age &amp;gt;= 13 &amp;amp; :sex == "F" &amp;amp;  :weight &amp;lt; 100,
		.
	,
		:weight
	);
);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Feb 2023 09:45:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-selected-data-in-the-cell/m-p/603347#M80652</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-21T09:45:26Z</dc:date>
    </item>
  </channel>
</rss>

