Profiling grid slices
You can create profile tables using grid slices, for example, this script creates a table for the "Channel 1" slice of the person.tvdays grid variable:
Set Table = TableDoc.Tables.AddNewProfile("Table10", "profile({person.tvdays[{channel_1}].column})",
"Slice of grid variable")
The grid slice is considered to be at the level of the grid (person.tvdays in this example) and so the table can only be populated at that level. The table shows the number of days that people watched Channel 1.
Profile table of channel 1 grid slice in person.tvdays
You cannot create profile tables containing variables that are on parallel branches, as it is not possible to up-lev the variables to a common level.
See also