Organizing data in a report : Organizing data in groups : Grouping data on a date-and-time column

Grouping data on a date-and-time column

When you group data on a date-and-time column, you have two options. You can show every individual date or time value, or you can group the data by a specific time interval, which is the typical option. You can organize a shipping report, for example, showing shipment data by month or by quarter, rather than by date.

Figure 4-9 shows three reports that contain the same data.

 

Figure 4-9  Comparing reports with grouped and ungrouped data

The report on the left displays data that has not been grouped, the second report groups shipment dates using individual date values, and the third report groups shipment dates by month.

How to group date-and-time data

1  
Select the column that contains the date-and-time data. From the right-arrow menu, choose GroupAdd Group.
2  
n  
n  
Type a number to indicate the grouping for the selected interval type. For example, if you selected Weeks, type 2 to group data in two-week periods.
Figure 4-10 shows grouping the Shipped Date column by month.

Figure 4-10  Grouping by Shipping date