<?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: where() clause with Contains() in Data Filter in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/where-clause-with-Contains-in-Data-Filter/m-p/8916#M8898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out:&lt;/P&gt;&lt;P&gt;I guess the problem is that Data Filter Doesn't understand anything but explicit comparison (==) between columns and strings, just like it's GUI. &lt;/P&gt;&lt;P&gt;What I found as the solution is selecting the rows with Select Where(). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 19:24:41 GMT</pubDate>
    <dc:creator>vitali_pom</dc:creator>
    <dc:date>2014-07-10T19:24:41Z</dc:date>
    <item>
      <title>where() clause with Contains() in Data Filter</title>
      <link>https://community.jmp.com/t5/Discussions/where-clause-with-Contains-in-Data-Filter/m-p/8915#M8897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I try to do the following, I get an exception:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;BR /&gt;&lt;P&gt;dt1 &amp;lt;&amp;lt; Data Filter(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; add Filter(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; columns(:MyCol),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Where( contains(:MyCol, "A12") &amp;gt; 0)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; mode(show(1))&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;) &amp;lt;&amp;lt; invert row selection;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I get the following exception:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;BR /&gt;&lt;P&gt;The WHERE clause has not been correctly specified. in access or evaluation of 'Greater'&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to accomplish what the code tries to do properly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 15:15:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/where-clause-with-Contains-in-Data-Filter/m-p/8915#M8897</guid>
      <dc:creator>vitali_pom</dc:creator>
      <dc:date>2014-07-10T15:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: where() clause with Contains() in Data Filter</title>
      <link>https://community.jmp.com/t5/Discussions/where-clause-with-Contains-in-Data-Filter/m-p/8916#M8898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out:&lt;/P&gt;&lt;P&gt;I guess the problem is that Data Filter Doesn't understand anything but explicit comparison (==) between columns and strings, just like it's GUI. &lt;/P&gt;&lt;P&gt;What I found as the solution is selecting the rows with Select Where(). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 19:24:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/where-clause-with-Contains-in-Data-Filter/m-p/8916#M8898</guid>
      <dc:creator>vitali_pom</dc:creator>
      <dc:date>2014-07-10T19:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: where() clause with Contains() in Data Filter</title>
      <link>https://community.jmp.com/t5/Discussions/where-clause-with-Contains-in-Data-Filter/m-p/49358#M28063</link>
      <description>Hi Vitali,&lt;BR /&gt;&lt;BR /&gt;need your help to comment on my script below. it is not working properly where im trying to do the data filter for the value with the correct test name only. im using Select Where and Contain method but only the numeric data is filtered and the filter for test name is not working.&lt;BR /&gt;&lt;BR /&gt;Please help to comment. Your help is greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;df = Current Data Table() &amp;lt;&amp;lt; Data Filter(&lt;BR /&gt;Location( {300, 196} ),&lt;BR /&gt;Mode( Show( 1 ), Include( 1 ) ),&lt;BR /&gt;Add Filter(&lt;BR /&gt;columns( :NUMERIC_RESULT, :TEST_NAME ),&lt;BR /&gt;Where( :NUMERIC_RESULT &amp;gt;= 5000 &amp;amp; :NUMERIC_RESULT &amp;lt;= 13000 ),&lt;BR /&gt;Select Where( Contains (:TEST_NAME == "ABC_0019" ),&lt;BR /&gt;Display( :NUMERIC_RESULT ),&lt;BR /&gt;Display( :TEST_NAME, Size( 204, 38 ), List Display )&lt;BR /&gt;),&lt;BR /&gt;)&lt;BR /&gt;)</description>
      <pubDate>Mon, 08 Jan 2018 07:22:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/where-clause-with-Contains-in-Data-Filter/m-p/49358#M28063</guid>
      <dc:creator>mhalwi</dc:creator>
      <dc:date>2018-01-08T07:22:16Z</dc:date>
    </item>
  </channel>
</rss>

