This answer has already been answered, but the table > summary platform could be used to do that by assigning the sum under the statistics drop down menus and adding those to the statistics window and the category or sub-categories that you want each of the variables in the statistics windows to be grouped or sub-grouped by can go into the respect folders. In this example, Program Line is equal to the following: Intl, Dom, AF)
Data Table( "CRSVersion30-Enrollments-August-6th461838" ) <<
Summary(
Group( :Mail Code ),
Sum( :Name( "# Confirmed Enrollments" ) ),
Sum( :Name( "# First Time Enrollments" ) ),
Sum( :Name( "$ Confirmed Enrollments" ) ),
Sum( :Name( "$ Program Only" ) ),
Sum( :Name( "$ Total Enrollment Amt" ) ),
Sum( :Name( "$ Total Net Order" ) ),
Subgroup( :Program Line ),
Freq( "None" ),
Weight( "None" )
)
This script derived from running the procedure described above would generate a new table with the summary data table order in the form where:
Mail Code N Rows =Sum(# Confirmed Enrollments, Intl) Sum( # First Time Enrollments, Intl) Sum($ Confirmed Enrollments, Intl) Sum($ Program Only, Intl) Sum($ Total Enrollment Amt, Intl), Sum($ Total Net Order, Intl) Sum(# Confirmed Enrollments, Dom) Sum( # First Time Enrollments, Dom) Sum($ Confirmed Enrollments, Dom) Sum($ Program Only, Dom) Sum($ Total Enrollment Amt, Dom), Sum($ Total Net Order, Dom) Sum(# Confirmed Enrollments, AF) Sum( # First Time Enrollments, AF) Sum($ Confirmed Enrollments, AF) Sum($ Program Only, AF) Sum($ Total Enrollment Amt, AF), Sum($ Total Net Order, AF).
You could also use Transpose under table
Jenkins Macedo