You can customize your DataWindow object by doing the following in the DataWindow editor:
Defining filters to limit which of the retrieved rows are displayed in the DataWindow object
Sorting rows after they have been retrieved from the database
Displaying the rows in groups and calculating statistics on each group