<?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: Filter out Ion IDs. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Filter-out-Ion-IDs/m-p/734445#M91538</link>
    <description>&lt;P&gt;Here is the way I would handle this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

dt = 
 // Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );

exclusion_list = /*{"P1638070-00-D:TGTX240584C0006:20TVD97GN",

"P1638070-00-D:TGTX240584C0006:20T40A34P",

"P1638070-00-D:TGTX240584C0006:20TXECFDY",

"P1638070-00-D:TGTX240584C0006",};*/ 

{"TIM", "JAMES","JUDY"};

// Add all values to exclude

dt &amp;lt;&amp;lt; Select Where(contains(exclusion_list, :Name));  // Ion Component ID is the column name I want to delete these entries from. 

dt &amp;lt;&amp;lt; Delete Rows;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 13 Mar 2024 14:31:32 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-03-13T14:31:32Z</dc:date>
    <item>
      <title>Filter out Ion IDs.</title>
      <link>https://community.jmp.com/t5/Discussions/Filter-out-Ion-IDs/m-p/734424#M91536</link>
      <description>&lt;P&gt;Hello I have the following script. I run it but it does not make any differences in my table, and it does not spit any errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table(); % The only data table I have open. 

exclusion_list = {"P1638070-00-D:TGTX240584C0006:20TVD97GN",

"P1638070-00-D:TGTX240584C0006:20T40A34P",

"P1638070-00-D:TGTX240584C0006:20TXECFDY",

"P1638070-00-D:TGTX240584C0006",};&amp;nbsp;

// Add all values to exclude

dt &amp;lt;&amp;lt; Select Where(Ion Component ID &amp;lt;&amp;lt; exclusion_list);&amp;nbsp; % Ion Component ID is the column name I want to delete these entries from.&amp;nbsp;

dt &amp;lt;&amp;lt; Delete Rows;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; If there is a faster way to filter out multiple IDs would love to know too :)&lt;/img&gt; Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 14:11:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filter-out-Ion-IDs/m-p/734424#M91536</guid>
      <dc:creator>Xhindi</dc:creator>
      <dc:date>2024-03-13T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out Ion IDs.</title>
      <link>https://community.jmp.com/t5/Discussions/Filter-out-Ion-IDs/m-p/734445#M91538</link>
      <description>&lt;P&gt;Here is the way I would handle this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

dt = 
 // Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );

exclusion_list = /*{"P1638070-00-D:TGTX240584C0006:20TVD97GN",

"P1638070-00-D:TGTX240584C0006:20T40A34P",

"P1638070-00-D:TGTX240584C0006:20TXECFDY",

"P1638070-00-D:TGTX240584C0006",};*/ 

{"TIM", "JAMES","JUDY"};

// Add all values to exclude

dt &amp;lt;&amp;lt; Select Where(contains(exclusion_list, :Name));  // Ion Component ID is the column name I want to delete these entries from. 

dt &amp;lt;&amp;lt; Delete Rows;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2024 14:31:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filter-out-Ion-IDs/m-p/734445#M91538</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-03-13T14:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out Ion IDs.</title>
      <link>https://community.jmp.com/t5/Discussions/Filter-out-Ion-IDs/m-p/734482#M91539</link>
      <description>&lt;P&gt;That worked. Thank you. The file wouldn't open with its file name so i still used Current Data Table&amp;nbsp; :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 15:43:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Filter-out-Ion-IDs/m-p/734482#M91539</guid>
      <dc:creator>Xhindi</dc:creator>
      <dc:date>2024-03-13T15:43:12Z</dc:date>
    </item>
  </channel>
</rss>

