O'Reilly logo

BIRT: A Field Guide, Third Edition by Jane Tatchell, Nola Hague, Diana Peh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Sorting and Grouping Data

When you first create a report and preview the data, the report displays the data in the order in which the data source returns it. The order varies based on how data was entered in the data source and how you joined tables in the query.

In most cases, you will want to change the order in which data appears in a report. A customer phone list, for example, is easier to use if it is in alphabetical order. A sales report is more useful if it presents sales figures from highest to lowest, or the reverse, depending on whether the focus is on top or low performers.

Compare the reports shown in Figure 11-1.

Figure 11-1. Reports showing unsorted and sorted data

The report on the left displays customer names in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required