Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Group a Pivot Table by Date

Group a Pivot Table on a date field by year, quarter or month, so a finance lead reads closed won revenue per period instead of per close date.

A finance lead preparing the quarterly review wants closed won revenue per quarter, split between new and existing business, then the same revenue month by month. Grouping on Close Date with a Date Grouping turns hundreds of close dates into a few periods. Display Full Label prints the months as names instead of numbers.

Pivot Table with closed won revenue grouped by year then quarter down the side, new and existing business across the top, and a grand total
Closed won revenue by year and quarter, split by type of business.

Before you start

Steps

1

Keep only the closed won deals

Select the Pivot Table on the screen and click Open Component Builder. Under the query Filters, replace the Closed Equals false condition with Stage Equals Closed Won.

Keep the open pipeline filter instead if you want to group open deals by their expected close date. Everything below works the same way.

2

Group the rows by year and quarter

In Data Mappings:

  1. Under Group Rows, change the Field of the existing item from Region to Close Date.

  2. A Date Grouping option appears as soon as the field is a date or date/time field. Set it to Year-Quarter.

  3. Under Group Columns, change Stage to Type, so new and existing business sit side by side.

  4. Under Aggregations, keep Amount with Sum.

Year-Quarter builds two levels: the year, then each quarter inside it. Their headers read Close Date (Year) and Close Date (Quarter). To rename one, turn on Custom Label and type a Label such as Quarter.

Group Rows item in the property editor with Close Date as field and Year-Quarter as Date Grouping, and the Display Full Label toggle under it
Date Grouping appears once the field is a date.
3

Pick the right period

Each Date Grouping option returns numbers, not dates:

Date Grouping
Groups records by
Values shown

Year

Calendar year

2025, 2026

Quarter

Calendar quarter, all years together

1 to 4

Month

Month, all years together

1 to 12

Week

Week of the year, all years together

1 to 53

Day

Day of the month, all months together

1 to 31

Year-Quarter

Year, then quarter

2026, then 1 to 4

Year-Month

Year, then month

2026, then 1 to 12

Year-Week

Year, then week

2026, then 1 to 53

Quarter, Month, Week and Day ignore the year: the first quarter of 2025 and the first quarter of 2026 add up in the same row. When the records span more than one year, use the Year- version.

4

Show months by name

To read the same revenue month by month:

  1. Change the Date Grouping of Close Date to Year-Month.

  2. Turn on Display Full Label, under Date Grouping.

The month rows now read January to December instead of 1 to 12. Display Full Label only renames months: years, quarters, weeks and days stay numbers, and month names are always in English.

Pivot Table grouped by year then month, with month names such as January and February instead of numbers
Display Full Label prints months by name.
5

Save and test

Save the flow and click Debug. With Year-Quarter, each year is a row, with its quarters under it. The columns read Existing Business and New Business, and each cell holds the closed won amount for that quarter.

Switch to Year-Month with Display Full Label: each year now lists its months by name, and only months with closed won deals appear.

Two row levels also unlock a subtotal per year. Show Totals, Subtotals and Stacked Summaries covers it.

Troubleshooting

The Date Grouping option does not appear

It only shows for a date or date/time field. A text field holding a date, such as a formula that returns text, groups by its exact value. Pick a real date field, such as Close Date.

The quarters do not match our fiscal year

Quarter and Year-Quarter use calendar quarters: quarter 1 is January to March. There is no fiscal year option on the Pivot Table.

Day gives 31 rows instead of one row per date

Day groups by day of the month across every month, so the 3rd of March and the 3rd of June share a row. To get one row per calendar date, leave Date Grouping empty on that field.

A record created late in the evening lands in the next day or month

On a date/time field, such as Created Date, the periods follow GMT, not the user's time zone. Group on a date field when one carries the same meaning.

Was this helpful?