Tabulate(
Change Item Label( Statistics( Mean, "Overall Mean" ) ),
Set Format( Name( "% of Total" )(9, 2) ),
Add Table(
Column Table( Statistics( Name( "% of Total" )(:Rating) ) ),
Column Table( Analysis Columns( :X ), Statistics( Mean ) ),
Row Table(
Grouping Columns( :Product, :Group, :Rating ),
Add Aggregate Statistics( :Rating )
)
)
);