Group data in a Data View
- Open a page that contains a Data View.
- In Page view, at the bottom of the document window, click Design .
- In the Data View Details task pane, click Sort & group.
- In the Available fields list, click the fields you want, and then click Add.
Under Sort Properties, click Ascending or Descending.
Under Group Properties, click Show group header.
- Do one of the following:
To show expanded or collapsed headings for site visitors, click Expand group by default or Collapse group by default.
- To show a footer at the end of each group that repeats the group title, click Show group footer.
- To hide the details for each group, click Hide group details.
- To show all grouped items, even if the total exceeds the specified number of items displayed, click Keep group items together.