Sub topic 10
Switching Time Levels and Selecting Date Ranges
This chapter assumes you have already inserted a timeline for a PivotTable date field, and that the field holds true dates, not text. It covers how to pick a time level and select a range of periods.
The parts of a timeline
A timeline has four parts you will use constantly:
- The time level drop-down at the top right. It offers Years, Quarters, Months, and Days.
- The selection label at the top left. It shows the current range, such as "Jan – Mar 2025".
- The period bars in the middle. Each bar is one period at the current level.
- The scroll bar at the bottom. It moves the visible window through time.
The Clear Filter button, at the top right next to the level drop-down, removes the date filter.
Switching the time level
The time level sets the size of the smallest period you can select. It does not filter anything by itself.
- Click the time level drop-down.
- Choose Years, Quarters, Months, or Days.
- Watch the bars change. Years gives one bar per year. Days gives one bar per day.
Pick the level that matches the question. To compare whole years, use Years. To pick a single week, use Days. If you need to start on 15 March and the level is Months, you cannot. Switch to Days first.
Selecting a date range
Selection works the same way at every level.
- Click one bar to select that period. The PivotTable updates at once.
- To extend the range, drag the handle on either end of the selected bar. You can also click the first bar, hold Shift, and click the last bar.
- To move to another stretch of time, drag the scroll bar. The selection stays in place while you scroll.
- To start over, click Clear Filter.
A timeline selects one continuous range. You cannot pick January and March while skipping February. If you need that, use a slicer on a Month field instead.
Common errors
- The range snaps to whole periods. At the Months level, a selection always covers complete months. If the totals look too large, switch to Days and select the exact dates.
- Switching levels and trusting the old selection. After you change level, read the selection label again to confirm the range is what you expect.
- Scrolling and thinking the filter changed. Scrolling only moves the view. The filter changes only when you click a bar or drag a handle.
- Missing bars. The timeline shows only the date span found in the data. If a period seems absent, check the source dates.
Tidying the display
On the Timeline tab, in the Show group, you can turn the header, selection label, scroll bar, and time level selector on or off. Hiding the scroll bar and level selector gives a cleaner dashboard. It also stops report readers from changing the granularity. Keep the selection label visible, because it is the quickest way to see what is filtered.
Exercise
A timeline is set to Months and you need sales from 10 April to 20 April only. What do you do?
Show answer
Switch the time level to Days, click 10 April, then drag the handle (or Shift-click) to 20 April. At the Months level you could only select whole months. Confirm the range in the selection label.
Exercise
You need January and March data but not February. Can one timeline do this, and if not, what can you use?
Show answer
No. A timeline selects one continuous range. Use a slicer on a Month field, which allows non-adjacent selections with Ctrl-click.