Ravindra BagaleCourses & study guides मराठी Track your progress

7. PivotTables and PivotCharts

Excel

7.8 Slicers and Timelines

Make a report's active filters visible to the reader

A delivery operations manager opens an order report and sees a smaller amount than she expected. Pune is selected, one platform is active and a date filter restricts the week. The numbers may be correct under those conditions. The report is more useful when its current selection is easy to see, inspect and clear.

This lesson uses the chapter's fictional delivery records inspired by services such as Blinkit and Amazon Now. A slicer offers visible item buttons for fields such as City or Platform. A timeline selects a date range from a typed date field in a supported PivotTable. You will test both controls and verify how selection scope changes when they are combined.

  • Choose a field that answers a real filter question. Compare a small list of city or platform items, or select an order date window.
  • Know which report receives the filter. A control changes linked reports in its actual connection scope.
  • Read combined filters together. City, Platform, Status and date constraints can affect the same result.
  • Clear and verify. Reproduce the known full starting amount when all selections that limit it are cleared.

Choose between a button for an item and a range of dates

Read selected slicer items as a set

A slicer is linked to a table or PivotTable on a supported Excel edition. In the PivotTable exercise the City slicer can select Pune or choose Pune and Nashik together. Selecting two values in the same field can include records matching either item. Selecting Blinkit in a separate Platform slicer adds that platform requirement to the city scope. The record must meet both active field conditions.

The slicer header names the field. The item buttons reflect the current filter state. A Clear Filter button removes that control's selection and may be disabled when no selection is restricting its field. Check whether another slicer, timeline or report field still restricts the results. Clearing City alone does not automatically clear Platform or Status.

Use the date control for a chronological window

A timeline uses a recognised date or date/time field. Supported levels include years, quarters, months and days. Select the level and date span that answer the question. Changing the visual level zooms the control's calendar. Selecting the span determines which source dates are included. Check actual date range text and result after moving or resizing the selection.

Choose and label which business date the control uses. Order Date answers when an order was recorded in the fixture. A source might also have delivery, refund or billing dates with different meanings. Pick the field the report question expects and keep that name visible. A separate Date or Month helper can provide a fallback if the timeline control is unavailable in your edition.

Can clearing City restore all orders when Platform remains selected?

Only the City condition was removed. The platform condition still applies to the linked report until you clear it too.

Follow the exact records after each new selection

  1. Start with no restrictions

    The synthetic source has ten order records with a total of 2870. All statuses are initially included.

  2. Choose two items from City

    Pune and Nashik together contain six orders with amount 904. An order can match either city.

  3. Choose one item from Platform

    Blinkit narrows those two cities to five records and amount 794. Pune's 110 Amazon Now record is outside.

  4. Add a status condition

    Only Delivered keeps four of those five orders and amount 574. The 220 cancelled order stays in the raw source.

Build the verified input for both control tests

Create a scratch Excel workbook and worksheet named ControlOrders. Enter the six headers and the ten rows shown in A1:F11. Use real dates in Order Date and plain numeric Amount values. Enter exact text for the ID, city, platform and status. Use a named table or verified range so its actual membership can be checked.

Synthetic practice source · one row per order
Order IDOrder DateCityPlatformAmountStatus
BLK-10012 Nov 2026PuneBlinkit64Delivered
BLK-10022 Nov 2026NashikBlinkit270Delivered
AMN-10033 Nov 2026PuneAmazon Now110Delivered
BLK-10043 Nov 2026NagpurBlinkit240Cancelled
AMN-10054 Nov 2026KolhapurAmazon Now232Delivered
BLK-10064 Nov 2026PuneBlinkit150Delivered
BLK-10075 Nov 2026SolapurBlinkit1299Delivered
AMN-10086 Nov 2026Sambhaji NagarAmazon Now195Returned
BLK-10097 Nov 2026PuneBlinkit220Cancelled
BLK-10108 Nov 2026NashikBlinkit90Delivered

Check the source before adding a control. Its all-status amount is 2870 and the raw count is ten. Confirm the date source includes actual dates. A controlled way to enter the first is =DATE(2026,11,2) followed by preserving its typed result in the source. If your edition labels a menu differently, use the documented feature available for your platform.

Lab 1 · Apply City and Platform slicers one condition at a time

Goal. Apply two slicers and an explicit Status report filter, and check the amount and count at every step. Create a local conventional PivotTable from the verified source. Put City in Rows, Sum of Amount and Count of Order ID in Values, and Status in Filters. Clear all selections before starting.

  1. Insert two slicers. Select the intended PivotTable. Use the Slicer command on the available Insert or PivotTable Analyze interface and select City and Platform. Confirm the headings match the source. Arrange them beside the report without covering values or captions.
  2. Select two cities. Use the control's available multi-select method or the documented modifier for your edition. Microsoft documents Ctrl for Windows and Command for Mac on their respective instructions. Select Pune and Nashik and verify both states. The report contains six records and amount 904.
  3. Apply a platform condition. Select Blinkit in the other slicer without changing the two-city selection. Five records remain and amount becomes 794. The 110 Pune order on Amazon Now is no longer included.
  4. Apply Delivered in the report filter. Four matching records remain with amount 574. Verify that the cancelled Pune amount 220 is excluded and the two Nashik amounts 270 and 90 remain.
  5. Clear conditions one at a time. Clear City while Blinkit and Delivered stay active. Expect five records and 1873. Clear Status to all, leaving Blinkit, for seven records and 2333. Clear Platform as well to recover ten and 2870.
Pune or Nashik includes six records and 904. Also selecting Blinkit gives five and 794. Also selecting Delivered gives four and 574.
Selections within one field expand its allowed items. Different fields can apply simultaneous conditions.

Verify and recover. If changing Platform has no effect, verify that you inserted the slicer on the intended report and inspect its connection. If a multi-select shows only one city, check its selected items and current mode. On an edition without slicer creation or editing, apply the same criteria with the report fields or use source filters and verify the identical amounts. Clear the scratch report after saving your controls.

Lab 2 · Filter a date window and combine it with status

Goal. Compare two exact inclusive date spans and then show the delivered result for one. Use a separate local scratch PivotTable with City in Rows, Amount in Values as Sum and Order ID in Values as Count. Put Status in Filters with all selected. Check 2870 and ten before adding the date control.

  1. Connect the typed date field. Select the intended PivotTable and choose Insert Timeline from the PivotTable Analyze controls on a supported desktop Excel edition. Select Order Date in the field list. If missing, inspect the source and whether it contains real dates, then review platform support.
  2. Choose the time level. Switch the control to Days, navigate to November 2026 and select 2 through 4 November. Check the selection span and compare the six matching source records. Their daily totals are 334, 350 and 382, for 1066.
  3. Choose another exact span. Select 5 through 8 November. The four daily amounts are 1299, 195, 220 and 90. The expected total is 1804 from four orders. The earlier date tiles remain outside the selected span.
  4. Apply Delivered. Keep the 5 through 8 date selection. Now only 1299 on 5 November and 90 on 8 November remain, giving 1389 across two records. This check verifies that the order date and status constraints both apply.
  5. Clear the timeline and retest. With Delivered still selected the full delivered amount is 2215 across seven. Set Status to all and check 2870 and ten. Close or reset the scratch workbook after recording the outcomes.
November 2 through 4 includes 6 orders and 1066. November 5 through 8 includes 4 and 1804. The latter span with Delivered gives 2 and 1389.
Verify whether a changed result comes from date, status or both active conditions.

Verify and recover. If the timeline is unavailable, apply the same date and status scope using supported report filters or a worksheet with the verified date bounds. If the date hides an expected record, inspect its actual date type and original values. Check the timeline's chosen field and connected report before changing a correct source.

Check which PivotTables react to one control

Make the connected reports identifiable

Two adjacent reports can describe the same data while reacting to different controls. The first report might show amounts by City. The second might show amounts by Platform. A City slicer can filter both when they use a compatible shared source and that slicer is connected to each one. Verify the actual connections. Two tables with identical-looking headings are not enough evidence that a control reaches them both.

On desktop editions with the command, select the slicer and inspect Report Connections. In Excel for the web for supported local slicers Microsoft documents using Slicer Settings and its PivotTable Connections section. Identify the target report names and select only the intended compatible reports. A timeline has its own documented Report Connections route on supported editions. Menu names and available commands depend on source and platform.

Use a two-report control case

  1. Build the city report. Create a conventional PivotTable from the original ten records with City in Rows and Sum of Amount in Values.
  2. Build the platform report. Create an eligible second PivotTable from the same intended source, with Platform in Rows and Sum of Amount in Values. Confirm it independently totals 2870, with 2333 for Blinkit and 537 for Amazon Now.
  3. Connect deliberately. Set up a City slicer on the first report in a supported edition. Inspect which report connections it actually has. Select the second report explicitly if it appears and you intend it to respond. If you cannot connect them, investigate source compatibility or use separate report filters.
  4. Select Pune. Under all statuses the City report gives 544. The connected Platform report should show the same selected city amount broken into 434 and 110, provided its other filters match. If the second remains at 2870, look for a missing connection or a different controlling state.
  5. Test clear and restore. Clear the City slicer and expect each report to return to its original scope. Keep no other filter active in this test. If a report remains narrower, inspect its own filters or other linked controls.

A connection causes a control to send the selected items to both linked reports. That does not eliminate independent filters inside each report. If the second report also selects Delivered locally, its Pune amount can differ even while connected to the same City slicer. Read the shared condition and the local ones. A comparison with a deliberately fixed total can be valid, but give it a caption that explains the difference.

Why could a chart or another table appear unchanged?

Check the specific report's connection, source and local filters. A control placed nearby does not necessarily apply to it.

Choose the available capability from your Excel edition

Microsoft documents slicer creation and connection for several Excel platforms. Desktop and web controls may appear in different locations. For Excel for the web the linked documentation currently describes creation of local PivotTable slicers. Its desktop instructions cover broader scenarios. Use the correct documentation and check actual data source support before selecting a menu path.

The Timeline support article lists specific desktop Excel versions and platform editions. Use the Timeline if your current report and app expose it. If the command is missing, verify a typed date field and the actual active report before attributing the difference to the platform. The worksheet date-range check and normal report filters let you practise the same selection logic when the Timeline is unavailable.

Use a reliable selection method

On Windows, Microsoft's slicer instructions show Ctrl with click for several items. On Mac, its instructions show Command with click. In a compatible edition with a multi-select control, toggle it and verify each desired item. Touch and keyboard behaviour can vary. Read the selected names and check the populated result rather than relying on a shortcut from another platform.

When there are many items, a slicer can scroll. A selection can include items outside the currently visible portion of the control. Check its filter state or accompanying report caption rather than reading only visible buttons. For a focused lesson build, keep City and Platform sufficiently large that a reader can see the expected selections and their names.

Keep controls readable beside the report

  • Use meaningful titles. Give distinct labels such as Order City, Order Platform and Order Date. Explain the selected period when using dates.
  • Leave enough room to read selections. Resize controls or choose a suitable button layout available in your edition. Avoid truncating names that need to be distinguished.
  • Show scope in words too. A filter selection can be highlighted by colour. The report title or nearby note should also identify the actual chosen context.
  • Keep related controls near their results. Avoid covering the underlying table and leave room for the PivotTable to grow. If two reports share a control, give readers a visible indication.
  • Recheck after save. Close and reopen the scratch version if needed. Confirm its starting selection and the total users are intended to see first.

Choose the initial view deliberately. A shared workbook might open with all statuses and no narrowed city selection, or with a documented saved Delivered view. Both are useful if clearly identified. When the workbook is used as a screenshot or exported summary, place its filter names beside the numbers because the interactive controls may not be available in that output.

Verify the date span with exact boundary controls

Use an inclusive start and the next day's exclusive boundary

In the source sheet's scratch control area, check the 2 through 4 November selection. For verified dates in column B and amounts in E, use =SUMIFS(E2:E11,B2:B11,">="&DATE(2026,11,2),B2:B11,"<"&DATE(2026,11,5)). The result is 1066. Count matching source rows with the same date criteria and expect six. A half-open date range like this includes all of the desired calendar end day for validated date-time values if they use the same business calendar.

For the second timeline span, change the start to 5 November and the exclusive upper bound to 9 November. The all-status amount is 1804. Add a Delivered condition against Status in F2:F11 and verify 1389. When a report responds to different date fields, verify that your worksheet comparison uses the same original field as the timeline. Measuring delivery dates would be a different source scope.

Test a month boundary and a repeated month name

The base fixture covers only part of November 2026. In a separate scratch copy, add three confirmed synthetic records: 31 October 2026 with amount 75, 1 December 2026 with amount 200 and 7 November 2025 with amount 80. Use distinct IDs and valid city, platform and status values. Confirm the actual source includes all three and refresh or verify the updated report.

Now switch to Months on a supporting timeline. November 2026 remains 2870. November 2025 has 80, and October and December 2026 have 75 and 200 respectively. Selecting the calendar fourth quarter of 2026 includes those three consecutive 2026 months, giving 3145. Clearing the date filter gives the full 3225 across thirteen rows. This demonstrates how a typed range selection preserves year identity even when two labels say November.

A month-level control selects a matching interval for the data at the report's date field. It cannot demonstrate that the source has every real transaction for the period. In the original file November 2026 is represented by ten records across seven calendar days. Label it as the included sample unless you have authoritative full-month coverage. Restore the original fixture after testing adjacent period scope.

How many original records are included in 2 through 4 November?

Six. Match the date criteria and inspect the three daily sums 334, 350 and 382. The date range contributes 1066 overall.

Determine which part of the report is still restricting a result

Clear one condition at a time

When a workbook opens with an unexpected amount, read the whole report before clearing every filter at once. Check the current record count and write down each selected item and period. Clearing one constraint and measuring its effect can identify which condition changed the result. In the city and platform lab, clearing City while keeping Blinkit and Delivered increases the known amount from 574 to 1873. That is a documented change of scope, with the two retained constraints still active.

If clearing a date range still gives 2215 rather than 2870, read Status. Delivered remains selected in the timeline lab. That small diagnostic shows that the two controls represent different conditions. When a report still appears unexpectedly limited, compare the corresponding source matches rather than guessing from a coloured button.

Check when a combination has no observed records

Start with the base state in a scratch copy and select Nashik and Amazon Now under all statuses. The source contains no matching records for that combination. The PivotTable may show no city result, an empty value, a displayed placeholder or an unavailable button state depending on its setup and current context. Use the source match count to confirm why the expected scope is empty. Clear one of the two constraints to recover known observations.

Some slicer settings and source combinations can change how items with no data are displayed. Check the actual report rather than using accessibility or displayed colour as proof of presence. A genuine recorded zero is a numeric value from a matching row. With the Nashik and Amazon Now fixture, the matching row count is zero. To test a genuine zero, add a documented zero-amount order in a separate scratch version and verify the count becomes one after that source reaches the report.

Be deliberate about multiple date controls on the same field

The practice uses a date timeline and separate categorical fields. If you later use both a slicer and a timeline for the same date field, Microsoft documents an available multiple-filters-per-field option in supporting desktop reports. Inspect that configuration and verify the intended result. Choosing two controls with different date ideas can confuse a learner even if the workbook accepts them. State each scope separately and test one known date at the boundary.

What do you test when a selected combination has no visible value?

Count matching source rows under all active conditions. A display placeholder does not establish a real zero measurement or the reason a group is absent.

Rehearse a complete combined selection from a known baseline

Create one final scratch version with the same source and four controls: the City and Platform slicers, the Order Date timeline and the Status report filter. Start each exercise with clear selections. This test shows how the date field combines with the other report dimensions. Keep the base count and amount visible before changing any state.

Verify four known narrowing steps

  1. Choose 3 through 5 November. The three daily sums are 350, 382 and 1299, so the date selection shows five orders and 2031. Before adding another condition, name the exact dates to confirm the intended start and end.
  2. Select Blinkit. Under the same date span the eligible amounts are 240, 150 and 1299. They total 1689 across three source rows. The two Amazon Now rows, 110 and 232, are outside the current platform.
  3. Select Delivered. The 240 record is Cancelled. The two delivered amounts are 150 and 1299. The report now shows 1449 from two records, when the source and all report links are verified.
  4. Select Pune. Of those two deliveries, only the 150 on 4 November belongs to Pune. The current count should be one.
  5. Clear only Order Date. Pune, Blinkit and Delivered still apply. The 64 on 2 November returns and the current amount becomes 214 across two orders.

Copy each expected comparison into a separate worksheet checklist. If the first two states are correct but the third is wrong, inspect the status filter and how the value was computed rather than rebuilding the entire dashboard. If the final date clear restores every source record, verify that the other filters were still connected to the displayed report and recorded as active. Restore the original baseline after the experiment.

Choose a range or a discontinuous set of dates on purpose

Another colleague asks for only 2 November and 8 November. The verified amounts from those two specific dates are 334 and 90, for 424 across three orders. A continuous timeline span from 2 through 8 November includes the dates in between and gives 2870 across all ten records. If the task requires two nonadjacent calendar days, use an available date-field item selection or a prepared inclusion field rather than describing a continuous date slider result as the same subset.

Stand-alone item selection can be easier when the analyst is looking for nonadjacent dates, while a timeline provides an intuitive start and end for a span. Read the supported transition states for your report source. Confirm the exact report selections with an independent list of dates before comparing the amounts.

Verify the source date without relying on its visual appearance

A known real Excel date can have a display such as 2 Nov 2026. A literal text value made from the same characters can look identical. Use a typed value and check its date components before interpreting a comparison. In a workbook containing date errors or mixed formats, prepare and verify a separate date field for the report. Keep the original amount available even when the date is unresolved.

Create one controlled mismatch

In a completely separate scratch copy, change the typed date for BLK-1001 to literal text matching its visible date. In Excel, one way is to enter a leading apostrophe before the characters of the date. Verify that ISNUMBER returns FALSE for that source cell. Record the underlying day as unresolved for this comparison and leave its original amount 64 present.

The original file still has ten rows and its amount sum remains 2870. Under the worksheet's count of verified numeric dates, there are nine usable date values. The verified date interval from 2 through 4 November now covers only the five remaining typed records with amount 1002. The difference of 64 identifies the source case held for date interpretation. These independent checks diagnose a type issue even if the active Timeline does not offer the expected field.

After source validation, restore the verified date and check the full six records and 1066 expected in the date window. When the date field is used for business decisions, also verify whether it represents entry, order, delivery or another time. Row data, field meaning and date type all need to agree before the timeline can express the proposed scope.

Write a clear starting view and filter reset instruction

A report should give its normal opening scope, whether all records or a named subset. Save a cleaned scratch view as the baseline with no filters active, or write the approved Delivered scope in its heading. Keep labels showing the connected reports and relevant dates. A team member viewing a screenshot should still understand the selected context without using the workbook.

Use a short handoff control list

  1. Identify the workbook source. Record the ten-order fixture, its amount field and the month the source actually contains.
  2. Identify each filter. List the City and Platform selections, exact Order Date span and Status. Use All when unrestricted.
  3. Identify connections. Note which tables or charts are intended to respond. Test a known city on both when appropriate.
  4. Identify the reset sequence. Clear the intended filter controls one at a time and verify the expected full amount of 2870 and ten records.
  5. Identify when data arrived. Record the source edition or refresh state separately. Changing a filter does not retrieve a newer source file.

Filter controls organise a view of data. If sharing a file calls for withholding source rows, use an approved distribution copy or workbook workflow and verify its contents. PivotTables can retain underlying or cached material and a slicer filter can be cleared by a reader with appropriate workbook access. A visible selection is not sufficient evidence that excluded records are absent from a shared file.

Will a screenshot of a sliced report carry its interactive scope?

The screenshot shows the captured state. Include the selected names and date period in a visible caption so the person reading it understands that scope.

Choose whether to clear, disconnect or remove a control

Use an action that matches the intended effect

Clear Filter removes the current choice on the linked field. That is useful for returning from Pune to all cities in the current reports. Disconnect changes where the selected state is sent. That is useful if one report should remain an overall comparison while another responds to the City control. Remove deletes the visible item control from the scratch report design. These actions have different purposes, and a report should be verified after each.

On a compatible scratch workbook with two already confirmed reports, first clear filters and compare 2870 in both. Use the supporting connection control to disconnect the Platform report from the City slicer while keeping the City report connected. Microsoft documents Filter Connections on supported desktop versions and a Slicer Connections section in the web's report settings for supported sources. Confirm both views are otherwise unfiltered before the next test.

Now select Pune in the City slicer. Its connected City report should narrow to 544. The independent Platform report should retain a full all-status total of 2870 when it has no matching local filter. This difference is now intentional. Label the first view Selected City and the second view All cities. Reconnect the second report if the comparison is meant to share selections. Compare Pune's 434 and 110 split beside the reconnected result.

Recover a useful report if the visual control is absent

If the control is removed or is hard to use on a small screen, keep a supported report filter or a clearly prepared source-scope worksheet. For an analysis of a small set of cities, exact selected names and their underlying order counts can be enough. Check the report clears to the appropriate base and that the output identifies which scope was exported. If a reader cannot access the control, the summary should still state which records it represents.

In a dashboard intended for brief repeated use, provide a small number of meaningful choices. A date field can show many daily values. A timeline can make a continuous period easier to select without dozens of visible buttons. Fields with many IDs may offer little navigational value as a visible control compared with City and Platform. Choose each control from an actual question someone will ask.

When reporting the latest month or a rolling interval, verify that the current saved selection matches the requested dates after every update. Adding new rows and refreshing the source does not establish that the visible selection was revised to express a changing report window. State the dates and source coverage explicitly. Compare the resulting amount with a date-specific control from the same data batch. If an operator must switch between a fixed month and a rolling window, record the period start and end in separate worksheet cells. Keep the chosen calendar or business convention beside those cells. In the original fixture a 2 to 4 November view should always be labelled as that fixed period. For a moving date window, verify the new dates and a known boundary observation whenever the source version changes. The caption and the calculation should update under the same definition.

Check your understanding

1. Which records are included when Pune or Nashik and Blinkit are selected?

A. Every Pune and Nashik order from either platform. B. Five records from those cities on Blinkit. C. All seven Blinkit records regardless of city.

Answer B. Select either city, then require the matching platform. Their five recorded amounts add to 794.

2. What changes when you clear only City while keeping Blinkit and Delivered?

A. All recorded orders return. B. The platform becomes Amazon Now. C. The results broaden to all delivered Blinkit orders.

Answer C. The other filters remain. The five currently matching records total 1873.

3. What must a usable Order Date timeline field supply?

A. Typed dates recognised under the intended source and edition. B. Any text containing a date word. C. A separate city label.

Answer A. Verify underlying dates and choose the correct date field before using range selection.

4. Why can two reports respond differently to adjacent controls?

A. Their values always use different arithmetic. B. Their actual connections or local filters may differ. C. Slicers change the original numbers.

Answer B. A control applies to connected reports only. Test active filters and source membership on each target.

5. What delivered amount belongs to 5 through 8 November?

A. 2215. B. 1804. C. 1389.

Answer C. 1299 and 90 are the two matching delivered amounts. The larger figures use a broader date or status scope.

6. What does an empty Nashik and Amazon Now selection prove in the fixture?

A. There is no matching observed record in that source and scope. B. There is an approved order with recorded amount zero. C. All Nashik orders must be missing.

Answer A. Confirm using the exact source conditions. A missing combination differs from a real recorded zero.

Interview questions with worked answers

How do you decide between a slicer and a timeline?

I use buttons for visible categorical selections such as city. I use a timeline for a recognised date field when its range selection is supported. I label which field governs the dates and retain an independent check.

How do two slicers combine in this report?

Several selected city items can contribute to the allowed city group. A different Platform slicer then limits that group to matching platform records. I validate both included amounts and source counts.

How do you verify that a slicer controls two PivotTables?

I confirm their eligible shared source and inspect actual report connections. I test a known city selection and compare expected city and platform totals on both views, accounting for their other filters.

What would you check after clearing a timeline if the total stays small?

I read other slicers, report filters and the actual source. Clearing the date condition may leave a narrower status. I compare the result with a known source subset before assuming the clear control failed.

What makes a filter design usable for a new reader?

I give controls clear names, label the current report scope and provide a predictable way to reset. I place them near the reports they affect and verify one visible amount and count after restoring the intended view.

Quick recall cards

  • Slicer

    Visible item selections filter linked records within a field.

  • Timeline

    Choose a time level and exact range on a recognised date field.

  • Multiple fields

    Verify the intersection of City, Platform, date and Status conditions.

  • Connections

    Check which PivotTables actually receive each filter.

  • Clear filter

    Remove the intended restriction and inspect what still applies.

  • Evidence

    Compare one slice and the restored baseline against the original source.

Continue with Report Connections, Refresh and Data Source to verify what each report reads and when updates reach it.

Official Microsoft references