<?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 Remove the &amp;quot;Where&amp;quot; from Window and Change grouping column names in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Remove-the-quot-Where-quot-from-Window-and-Change-grouping/m-p/461882#M70674</link>
    <description>&lt;P&gt;I am looking to remove the "Where..." from my window, but it does not work as I thought it should. I tried the same method that does work for graphs (as noted by &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;).I am guessing it's just a simple naming convention issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also trying to rename my table's grouping column :Identity to "Phase".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nw =New Window("window title",
		V List Box(
			tb = concat&amp;lt;&amp;lt;Tabulate(
			Change Item Label(Grouping Columns( :Identity, "Phase" ) ),
				Show Control Panel( 0 ),
				//Set Format( Uniform Format( 10, 2 ) ),//All metrics have same format
				Set Format( Mean( :"Mw/Mn"n( 10, 2 ) ) ),
				Where(:Product==GroupBy[i]),
				Add Table(
		Column Table( Analysis Columns( :Mw, :"Mw/Mn"n ), Statistics( Mean ) ),
		Row Table( Grouping Columns( :Lot, :Identity ) )//End Row table
				),//end Add Table
				Change Item Label( Statistics( Mean, "Avg" ) ),
				SendToReport(Dispatch({}, "Tabulate", OutlineBox, {Set Title( tabulatetitle )} ) )
			)//end tabulate (tb)
		)//end v list box
	);//end nw new window
		tp = Window(nw) &amp;lt;&amp;lt; topparent; //finds the top of the display tree
	tp[Text Box(1)] &amp;lt;&amp;lt; delete; // deletes text box &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Jun 2023 18:11:00 GMT</pubDate>
    <dc:creator>Raybob</dc:creator>
    <dc:date>2023-06-09T18:11:00Z</dc:date>
    <item>
      <title>Remove the "Where" from Window and Change grouping column names</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-the-quot-Where-quot-from-Window-and-Change-grouping/m-p/461882#M70674</link>
      <description>&lt;P&gt;I am looking to remove the "Where..." from my window, but it does not work as I thought it should. I tried the same method that does work for graphs (as noted by &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;).I am guessing it's just a simple naming convention issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also trying to rename my table's grouping column :Identity to "Phase".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nw =New Window("window title",
		V List Box(
			tb = concat&amp;lt;&amp;lt;Tabulate(
			Change Item Label(Grouping Columns( :Identity, "Phase" ) ),
				Show Control Panel( 0 ),
				//Set Format( Uniform Format( 10, 2 ) ),//All metrics have same format
				Set Format( Mean( :"Mw/Mn"n( 10, 2 ) ) ),
				Where(:Product==GroupBy[i]),
				Add Table(
		Column Table( Analysis Columns( :Mw, :"Mw/Mn"n ), Statistics( Mean ) ),
		Row Table( Grouping Columns( :Lot, :Identity ) )//End Row table
				),//end Add Table
				Change Item Label( Statistics( Mean, "Avg" ) ),
				SendToReport(Dispatch({}, "Tabulate", OutlineBox, {Set Title( tabulatetitle )} ) )
			)//end tabulate (tb)
		)//end v list box
	);//end nw new window
		tp = Window(nw) &amp;lt;&amp;lt; topparent; //finds the top of the display tree
	tp[Text Box(1)] &amp;lt;&amp;lt; delete; // deletes text box &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:11:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-the-quot-Where-quot-from-Window-and-Change-grouping/m-p/461882#M70674</guid>
      <dc:creator>Raybob</dc:creator>
      <dc:date>2023-06-09T18:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Remove the "Where" from Window and Change grouping column names</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-the-quot-Where-quot-from-Window-and-Change-grouping/m-p/461901#M70675</link>
      <description>&lt;P&gt;I'm not exactly sure which of the many methods is referenced here, but XPath usually works. Here is one example which might work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

tab = new window("",
		Tabulate(
		Show Control Panel(0),
		Add Table(
			Column Table(Grouping Columns(:age)),
			Row Table(Grouping Columns(:name))
		),
		Where(:sex == "F")
	);
);

wait(2);
where_tb = (tab &amp;lt;&amp;lt; Top Parent) &amp;lt;&amp;lt; XPath("//TextBox[contains(text(), 'Where(:')]");
where_tb[1] &amp;lt;&amp;lt; Visibility("Collapse"); //or delete&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Feb 2022 17:34:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-the-quot-Where-quot-from-Window-and-Change-grouping/m-p/461901#M70675</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-02-17T17:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove the "Where" from Window and Change grouping column names</title>
      <link>https://community.jmp.com/t5/Discussions/Remove-the-quot-Where-quot-from-Window-and-Change-grouping/m-p/461905#M70676</link>
      <description>&lt;P&gt;The Scripting Index is as close to the Definitive reference for what messages and options are available to a given platform.&amp;nbsp; Looking in the index, one finds that there is not a reference to a "Where" clause being available.&amp;nbsp; So your attempt at including it in your Tablulate platform JSL will not work.&amp;nbsp; A potential solution would be to use a Local Data Filter to do the Where processing, and then set it's visibility to "Collapse" or "Hidden" so it does not interfere with the display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concerning your attempt to change the display name of "Identity" to "Phase", once again the Scripting Index provides the reason your JSL does not work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1645119897440.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40076i8E826F01B68D39AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1645119897440.png" alt="txnelson_0-1645119897440.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The Change Item Label only has the current capability of changing the Statistics label.&amp;nbsp; A workaround for this is pretty simple.&amp;nbsp; One can add a new Virtual Transformation column to the Tabulate Dialog Box.&amp;nbsp; Declare it a Formula and then set the formula for the new column to be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Identity&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then rename the new Transform column "Phase" and use it in the definition of your Tablulate table, as I have done in the simple example below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1645120304496.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40077i7D5B38FF87A99CD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1645120304496.png" alt="txnelson_1-1645120304496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this case, I used the column Age as you would use Identity&lt;/P&gt;
&lt;P&gt;Here is the JSL that my simple example creates&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tabulate(
	Change Item Label( Statistics( Mean, "zippy" ) ),
	Remove Column Label( Analysis Columns( height ) ),
	Show Control Panel( 0 ),
	Add Table(
		Column Table( Analysis Columns( :height ), Statistics( Mean ) ),
		Row Table(
			Grouping Columns(
				Transform Column( "Phase", Ordinal, Formula( :age ) )
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 17:54:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Remove-the-quot-Where-quot-from-Window-and-Change-grouping/m-p/461905#M70676</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-02-17T17:54:51Z</dc:date>
    </item>
  </channel>
</rss>

