<?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: Select Where evaluation using a variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Select-Where-evaluation-using-a-variable/m-p/276612#M53672</link>
    <description>&lt;P&gt;I'm pretty sure that I have done this action without trouble. Perhaps simplify the message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;sb="xxxx";
dt &amp;lt;&amp;lt; Select Where( df:TestName != "pb" &amp;amp; df:BoType == sb);
Show(nrows(dt &amp;lt;&amp;lt; get selected rows));&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Jul 2020 19:27:03 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2020-07-01T19:27:03Z</dc:date>
    <item>
      <title>Select Where evaluation using a variable</title>
      <link>https://community.jmp.com/t5/Discussions/Select-Where-evaluation-using-a-variable/m-p/276602#M53669</link>
      <description>&lt;P&gt;I'm having a strange issue when trying to use a variable in Select Where(). The following code works fine:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Row Selection( Select Where( df:TestName != "pb" &amp;amp; df:BoType==&lt;STRONG&gt;&lt;FONT color="#800000"&gt;"xxxx"&lt;/FONT&gt;&lt;/STRONG&gt;) );
Show(nrows(dt &amp;lt;&amp;lt; get selected rows));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;Prints in Log:&amp;nbsp;Number&amp;nbsp;of&amp;nbsp;selected&amp;nbsp;rows&amp;nbsp;&amp;gt;&amp;nbsp;0&amp;nbsp;as&amp;nbsp;expected.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the following code fails completely:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;STRONG&gt;&lt;FONT color="#800000"&gt;sb="xxxx"&lt;/FONT&gt;&lt;/STRONG&gt;;
dt &amp;lt;&amp;lt; Row Selection( Select Where( df:TestName != "pb" &amp;amp; df:BoType==&lt;STRONG&gt;&lt;FONT color="#800000"&gt;sb&lt;/FONT&gt;&lt;/STRONG&gt;) );
Show(nrows(dt &amp;lt;&amp;lt; get selected rows));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;Prints in Log:&amp;nbsp;0&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm completely baffled. Any help would be greatly appreciated!&lt;BR /&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:30:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-Where-evaluation-using-a-variable/m-p/276602#M53669</guid>
      <dc:creator>buchea</dc:creator>
      <dc:date>2023-06-09T23:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Select Where evaluation using a variable</title>
      <link>https://community.jmp.com/t5/Discussions/Select-Where-evaluation-using-a-variable/m-p/276612#M53672</link>
      <description>&lt;P&gt;I'm pretty sure that I have done this action without trouble. Perhaps simplify the message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;sb="xxxx";
dt &amp;lt;&amp;lt; Select Where( df:TestName != "pb" &amp;amp; df:BoType == sb);
Show(nrows(dt &amp;lt;&amp;lt; get selected rows));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jul 2020 19:27:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-Where-evaluation-using-a-variable/m-p/276612#M53672</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-07-01T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select Where evaluation using a variable</title>
      <link>https://community.jmp.com/t5/Discussions/Select-Where-evaluation-using-a-variable/m-p/276614#M53674</link>
      <description>This fixed it! Thank you!</description>
      <pubDate>Wed, 01 Jul 2020 19:52:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-Where-evaluation-using-a-variable/m-p/276614#M53674</guid>
      <dc:creator>buchea</dc:creator>
      <dc:date>2020-07-01T19:52:08Z</dc:date>
    </item>
  </channel>
</rss>

