You can group data columns in a trace from the Trace File Properties dialog, or when you define a trace.
Open an existing trace file or table, go to the File menu, and select Properties.
On the Events Selection tab, click Organize Columns button.
In the Organize Columns dialog, select the columns you want to display in a group and click Up to move them under Groups.
After you have moved all the columns you want to move under Groups, you can use the Up and Down buttons to rearrange their order.
When you move the data column names into the Groups list, the displayed trace is first organized by the values in the top-most data column appearing in the Groups list, then by the second data column in the Groups list, and so on.
Click OK in the Organize Columns dialog, and then click OK in the Trace Table Properties dialog.
You can see that the data columns are reorganized in the displayed trace.
Open an existing trace file or table, and go to the File menu and select Properties.
On the Events Selection tab, click Organize Columns button.
In the Organize Columns dialog, select one column you want to group and aggregate the displayed trace events.
LetThe data column you moved to the top-most positionL The data column you moved to the top-most position}"L_'s move the ClientProcessID under the groups and rearrange all others under columns as shown below. Pl-img src="images/organize-columns-5.png" alt="Organize Columns">
Click OK in the Organize Columns dialog, and then click OK in the Trace Table Properties dialog.
You can see that the data columns are reorganized in the displayed trace. All other data column events are aggregated under the data column that you moved into the Groups list.
Click the plus sign (+
) to the left of the event in the data column you chose for aggregation to expand it and view all events of that type.
To revert to a normal view of the trace data, click Aggregated View or Grouped View on the View menu, which cancels the selection.
If you want to revert to the aggregated view, click Aggregated View on the View menu again to reselect it.