Thanks @txnelson . Very helpful. I followed the steps you described and saved the complied scripts (see below) in the original table. When I run it, it opens the summary table and ALL the graphs therein. Is there any way to control that? In other words, when i run the script I only want the summary table to open and then I open the graphs that I want in the summary table. Thanks again.
Data Table( "Beijing PM2.5" ) << Summary(
Group(
Transform Column(
"Date[Date (LT)]",
Format( "d/m/y", 22 ),
Formula( Floor( :Name( "Date (LT)" ) / 86400 ) * 86400 )
)
),
Mean( :Raw Conc. ),
Freq( "None" ),
Weight( "None" )
);
Graph Builder(
Size( 514, 444 ),
Show Control Panel( 0 ),
Level Spacing Color( "White" ),
Level Underline( 1 ),
Page Level Fill Color( "Medium Light Gray" ),
Page Level Frame Color( "Black" ),
Page Level Underline( 0 ),
Variables( X( :Name( "Date[Date (LT)]" ) ), Y( :Name( "Mean(Raw Conc.)" ) ) ),
Elements( Bar( X, Y, Legend( 5 ) ) )
);
Graph Builder(
Size( 514, 444 ),
Show Control Panel( 0 ),
Level Spacing Color( "White" ),
Level Underline( 1 ),
Page Level Fill Color( "Medium Light Gray" ),
Page Level Frame Color( "Black" ),
Page Level Underline( 0 ),
Variables(
X(
Transform Column(
"Year[Date[Date (LT)]]",
Formula( Year( :Name( "Date[Date (LT)]" ) ) )
)
),
Y( :Name( "Mean(Raw Conc.)" ) )
),
Elements( Bar( X, Y, Legend( 5 ) ) )
);