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 @txnelson).I am guessing it's just a simple naming convention issue?
I am also trying to rename my table's grouping column :Identity to "Phase".
nw =New Window("window title",
V List Box(
tb = concat<<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) << topparent; //finds the top of the display tree
tp[Text Box(1)] << delete; // deletes text box