Sort Groups by a Summary Function Result

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Report Designer > Report Designer for WinForms > Create Reports > Miscellaneous >

Sort Groups by a Summary Function Result

Interface Elements for Desktop > Report Designer > Report Designer for WinForms > Create Reports > Miscellaneous Report Management Capabilities > Sort Groups by a Summary Function Result

This tutorial demonstrates how to sort groups based on the result of a function summary specified for them. To demonstrate this feature, we'll use a report similar to the one created in the following tutorial: Change or Apply Data Grouping to a Report.

To sort groups by a summary function result, do the following.

1.Select the Group Header band and click its Smart Tag. In the invoked actions list, click the ellipsis button for the Sorting Summary option.

img13271

2.Then, in the invoked Group Sorting Summary Editor, check the Enabled option, and specify a field and summary function against which the group should be sorted.

img13272

If required, you also can change the default sorting order (from descending to ascending), and choose to ignore null values.

Click OK to apply the changes, and switch to the Preview Tab to view the result.

img13273

ExpandedCollapsed See Also

Add Totals to a Report

Change or Apply Data Grouping to a Report

Count the Number of Records in a Report or a Group

Add Page Numbers for Groups

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.