Hi there,
I would like to combine these codes so that they run from the "Formulation Change Review (new)" and closes the new data table/tabulate tab only leaving the graph.
Any help much appreciated!
(Data Table( "Formulation Change Review (new)" ) <<
Tabulate(
Add Table(
Column Table( Grouping Columns( :Lab RFT ), Statistics( Row % ) ),
Row Table( Grouping Columns( :Grade ) )
)
)) << Make Into Data Table
Graph Builder(
Size( 1896, 951 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables(
X(
:Grade,
Order By( :Name( "Row %(Y)" ), Ascending, Order Statistic( "Mean" ) )
),
Y( :Name( "Row %(Y)" ) ),
Overlay( :Grade )
),
Elements( Bar( X, Y, Legend( 6 ), Label( "Label by Value" ) ) ),
SendToReport(
Dispatch( {}, "graph title", TextEditBox, {Set Text( "RFT % per grade" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "RFT%" )} )