<?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: data filter favorites --can I use &amp;quot;not equal&amp;quot; in where clause? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16552#M15081</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Favorites(
"Test_Favorite1"(Match( columns( :type, :name, :batchID ),
Where( :type == {"&amp;lt;Not PM Entry 1&amp;gt;","&amp;lt;Not PM Entry 2&amp;gt;","&amp;lt;Not PM Entry 3...&amp;gt;"} ),
Where( :name == {"&amp;lt;Not Name Entry 1&amp;gt;","&amp;lt;Not Name Entry 2&amp;gt;","&amp;lt;Not Name Entry 3...&amp;gt;"} ),
Where( :batchID == {303, 322} )
)),
Inverse( 1 )

);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You'll have to fill in the missing type and name entries, but this should do the exclusion of the specific batchID's. If that doesn't do what you're after, I'd recommend that you send a note to tech support (&lt;A href="mailto:support@jmp.com" target="_self"&gt;support@jmp.com&lt;/A&gt;). They have some really good scripters on the team that have helped me out in the past. Also if its something that JMP can't do, they can route the question to the developers to see if it can be fixed in a future issue of JMP.&lt;BR /&gt; &lt;BR /&gt;Best,&lt;BR /&gt; &lt;BR /&gt;M&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2018 19:41:17 GMT</pubDate>
    <dc:creator>MikeD_Anderson</dc:creator>
    <dc:date>2018-08-16T19:41:17Z</dc:date>
    <item>
      <title>Can I use the "not equal to" operator in Data Filter favorite "where" clause?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16548#M15077</link>
      <description>&lt;P&gt;I am trying to define a filter favorite that will scale as new data is added to my table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Favorites(
  "Test_Favorite1"(Match( columns( :type, :name, :batchID ),
  Where( :type == "PM" ),
  Where( :name == "Weekly" ),
  Where( :batchID == {266, 268, 290} )
  ))
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to be able to specify what batchIDs to NOT include in the filter, that way as new batchIDs show up my filter will include them (but exclude the problem batchIDs that I have previously identified to exclude).&amp;nbsp; When I try to use the != operand, I get errors..&amp;nbsp; I also tried !== as well with no luck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//example (include ALL batchIDs except for 268):
&amp;lt;!--
 
Favorites(
  "Test_Favorite1"(Match( columns( :type, :name, :batchID ),
  Where( :type == "PM" ),
  Where( :name == "Weekly" ),
  Where( :batchID != {268} )
  ))
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't see anything in the manuals/scripting guide.. is this possible?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:38:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16548#M15077</guid>
      <dc:creator>jmpbeginner</dc:creator>
      <dc:date>2018-08-16T19:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: data filter favorites --can I use "not equal" in where clause?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16549#M15078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where( not(:batchID == {268}) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had other situations where the != operator didn't work, and this seems to get around that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 15:40:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16549#M15078</guid>
      <dc:creator>mwechtal</dc:creator>
      <dc:date>2016-01-28T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: data filter favorites --can I use "not equal" in where clause?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16550#M15079</link>
      <description>&lt;P&gt;dang, no luck:&lt;BR /&gt;"The WHERE clause has not been correctly specified. in access or evaluation of 'Not' , !/*###*/(:experiment_id == {303, 322})"&lt;BR /&gt; &lt;BR /&gt;i tried this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Favorites(
"Test_Favorite1"(Match( columns( :type, :name, :batchID),
Where( :type == "PM" ),
Where( :name == "Weekly" ),
Where( Not( :batchID == {303, 322} ) )
))
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;maybe I need to select all batchID's first, then the Where(NOT()) will work?? Is there a way to select all batchID's on launch without calling out a static list of batchID numbers?&lt;BR /&gt; &lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:41:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16550#M15079</guid>
      <dc:creator>jmpbeginner</dc:creator>
      <dc:date>2018-08-16T19:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: data filter favorites --can I use "not equal" in where clause?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16551#M15080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, I'm stumped. You might have to go to a Script to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:57:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16551#M15080</guid>
      <dc:creator>mwechtal</dc:creator>
      <dc:date>2016-01-29T21:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: data filter favorites --can I use "not equal" in where clause?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16552#M15081</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Favorites(
"Test_Favorite1"(Match( columns( :type, :name, :batchID ),
Where( :type == {"&amp;lt;Not PM Entry 1&amp;gt;","&amp;lt;Not PM Entry 2&amp;gt;","&amp;lt;Not PM Entry 3...&amp;gt;"} ),
Where( :name == {"&amp;lt;Not Name Entry 1&amp;gt;","&amp;lt;Not Name Entry 2&amp;gt;","&amp;lt;Not Name Entry 3...&amp;gt;"} ),
Where( :batchID == {303, 322} )
)),
Inverse( 1 )

);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You'll have to fill in the missing type and name entries, but this should do the exclusion of the specific batchID's. If that doesn't do what you're after, I'd recommend that you send a note to tech support (&lt;A href="mailto:support@jmp.com" target="_self"&gt;support@jmp.com&lt;/A&gt;). They have some really good scripters on the team that have helped me out in the past. Also if its something that JMP can't do, they can route the question to the developers to see if it can be fixed in a future issue of JMP.&lt;BR /&gt; &lt;BR /&gt;Best,&lt;BR /&gt; &lt;BR /&gt;M&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:41:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-the-quot-not-equal-to-quot-operator-in-Data-Filter/m-p/16552#M15081</guid>
      <dc:creator>MikeD_Anderson</dc:creator>
      <dc:date>2018-08-16T19:41:17Z</dc:date>
    </item>
  </channel>
</rss>

