Group Pivot Table Report Filter Fields

image Welcome back! The Contextures Blog was out of commission for a couple of weeks, and it’s nice to be up and running again. A few of the shingles blew off during the reconstruction, so if you notice anything missing or broken, please let me know!

Focus on Data with Report Filter Fields

Now that we’re back in business, let’s take a look at the Report Filter fields in a pivot table. In older versions of Excel, these were called Page Fields, and they help you focus on specific data in an Excel pivot table.

Drop fields into the Report Filter area of the pivot table layout. Then, select one or more items from that pivot table field, to see the summarized data for the selected items.

In this example, the Order Date field is in the Report Filter area, and you can select a specific date, to see its orders.

PivotFilterGroup06

Group Dates in the Date Field

If you put a date field in the Report Filter area, there might be a long list of dates in the dropdown list. Instead of seeing the individual dates, you might prefer to group them, by year or month.

However, if you right-click on the Report Filter field, there isn’t a command that lets you group the data. Are you doomed to a miserable existence of scrolling through the date list?

PivotFilterGroup02

The Date Grouping Workaround

Fortunately, there is a workaround that solves the Report Filter grouping problem. It’s not pretty, but it works!

To enable the grouping command, you’ll temporarily move the Report Filter field to the Row Labels area. In the screen shot below, the OrderDate field is being dragged to the Row Labels area.

PivotFilterGroup03

Then, right-click on the field in the pivot table, and click Group. Select the Grouping options that you want, and click OK.

PivotFilterGroup07

Back to the Report Filters Area

Move the grouped fields back to the Report Filter area. In this example, the OrderDate field was grouped by Year and Month, and that created a new field – Years.

Both the Years field and the OrderDate field are dragged back to the Report Filter area.

PivotFilterGroup08

Now, the pivot table can be filtered by year and/or month.

PivotFilterGroup09

Maybe in the next version of Excel you’ll be able to group the fields, without moving them from the Report Filter area.

_________