<?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: Remove &amp;quot;where(...)&amp;quot; text in report in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368766#M61861</link>
    <description>&lt;P&gt;Thanks! I actually was wondering if XPath could be used to fix it, but I have not used XPath much at all, so this actually helped in a couple ways!&lt;BR /&gt;And thanks for the link to the other discussion, I found that but totally missed the fix for my problem in it.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 19:11:11 GMT</pubDate>
    <dc:creator>nathan-clark</dc:creator>
    <dc:date>2021-03-17T19:11:11Z</dc:date>
    <item>
      <title>Remove "where(...)" text in report</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368736#M61859</link>
      <description>&lt;P&gt;When you do something like a bivariate, and you use the Where() command, the JMP output usually has a bit of text "where(:column 1 == 'F') or something&lt;BR /&gt;&lt;BR /&gt;I am doing some scripting and I don't want that text showing up. Is there a way to keep that from happening or to remove it after the fact. Typically i just use the BY() command, but in this instance I want to basically iterate through the BY() levels so I can control which windows the live reports end up in. My script works fine, but that pesky text really makes it look meh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:08:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368736#M61859</guid>
      <dc:creator>nathan-clark</dc:creator>
      <dc:date>2023-06-09T22:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "where(...)" text in report</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368757#M61860</link>
      <description>&lt;P&gt;Here is an example of a report that has a where clause and the code that deletes it.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

Gender_List = {"M", "F"};
age_list = {12, 13, 14, 15};
Property_List = {"Age", "Height", "Weight"};

w = New Window( "test", VLB = V List Box( Text Box( "A" ), dt &amp;lt;&amp;lt; Distribution( Nominal Distribution( Column( :age ) ) ) ) );

For( j = 1, j &amp;lt;= N Items( Gender_List ), j++,
	VLB &amp;lt;&amp;lt; Append( Text Box( Gender_List[j] ) );
	VLB &amp;lt;&amp;lt; Append(
		LB = LB = Lineup Box( N Col( 2 ), spacing( 10 ),
			For( i = 1, i &amp;lt;= N Items( Property_List ), i++,
				gb = dt &amp;lt;&amp;lt; Distribution( Continuous Distribution( Column( Property_List[i] ) ), where( :Sex == Gender_List[j] ) )
			)
		)
	);
);

whereTb = w &amp;lt;&amp;lt; XPath("//TextBox[contains(text(), 'Where(:sex == Gender_List[j])')]");
whereTb &amp;lt;&amp;lt; Delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;See the previous Community Discussion&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Where-Clause-in-graph-loop/m-p/366128#M61579" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:06:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368757#M61860</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-17T19:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "where(...)" text in report</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368766#M61861</link>
      <description>&lt;P&gt;Thanks! I actually was wondering if XPath could be used to fix it, but I have not used XPath much at all, so this actually helped in a couple ways!&lt;BR /&gt;And thanks for the link to the other discussion, I found that but totally missed the fix for my problem in it.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:11:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368766#M61861</guid>
      <dc:creator>nathan-clark</dc:creator>
      <dc:date>2021-03-17T19:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "where(...)" text in report</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368788#M61864</link>
      <description>&lt;P&gt;Yes, XPath can be used for this purpose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

// open example
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

// open platform with By role
biv = dt &amp;lt;&amp;lt; Bivariate(
	Y( :weight ),
	X( :height ),
	Where( :age == 14 | :age == 16 ),
	Fit Line
);
Wait( 2 );

// hide text box
biv rep = biv &amp;lt;&amp;lt; Report;
((biv rep &amp;lt;&amp;lt; Top Parent) &amp;lt;&amp;lt; XPath( "//TextBox" ) ) &amp;lt;&amp;lt; Delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Mar 2021 20:17:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-quot-where-quot-text-in-report/m-p/368788#M61864</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-03-17T20:17:27Z</dc:date>
    </item>
  </channel>
</rss>

