Indezine Logo

PivotTables in PowerPoint

Use Excel Pivot Tables as a visualization tool within Microsoft PowerPoint.


Product/Version: PowerPoint

Naresh NichaniNaresh Nichani is a Most Valuable Professional (MVP) for Microsoft Access based in Chennai, India. Naresh runs a software development firm that specializes in Visual Basic development and Office integration.

He enjoys programming with Microsoft technologies as they are fairly easy to use and developers can build fairly complex solutions for customers with visually appealing interfaces quickly.

Brian ReillyBrian Reilly is President of Reillyand, a Milford CT based company, that develops custom solutions typically integrating several of the Office applications for output into PowerPoint.

Brian is also a Most Valuable Professional (MVP) for Microsoft PowerPoint. He often creates customized solutions for clients that involve taking PowerPoint and other Microsoft Office applications to the limit.

Microsoft Excel has a cool data visualization option called PivotTables, which allows you to view and work with your data in an intuitive and interactive style while leaving your actual data unchanged. This data can be within an Excel sheet or linked from an external data source. PivotTables can capture and analyze data from any data source including Microsoft Access, Microsoft SQL Server, Microsoft Excel and even CSV files.

It's no surprise that many Excel users create PivotTables of their data all the time.

We can use this visualization tool within a Microsoft PowerPoint slide to display and also interactively manipulate data while a presentation is running.

Remember: This tutorial is not an introduction to PivotTables although it does explain some basics.

Before we begin:

Remember, it is important that you unzip these files to a C:\PPT Pivot Demo folder only -- for this demo to work, you must have a Pivot demo.ppt and a Pivot demo.mdb in the C:\PPT Pivot Demo folder.

  • The Pivot demo.ppt files is the container presentation.
  • The Pivot demo.mdb file contains some sales data in an Access database table, as shown in Figure 1.

    Access database
    Figure 1: Access database

    Note: this data could be in any other relational database or a spreadsheet as well.

Follow these steps to get started -- do download the accompanying sample files here.

  1. Create a new presentation in PowerPoint, or add a new, blank slide to an existing one. Change the layout of the slide to either Blank of Title Only.

    PowerPoint 2003 and earlier users can choose Format | Slide Layout, and apply the new layout within the relevant dialog box or task pane.

    PowerPoint 2007 users need to select the Home tab on the Ribbon, and then click the Layout option to bring up the Layout gallery, and then choose the relevant layout option.
  2. Now you will add an Excel spreadsheet object to this blank slide.

    PowerPoint 2003 and earlier users need to make the Control Toolbox toolbar visible -- make sure that there is a checkmark next to Control Toolbox on the View | Toolbars menu option (see Figure 2).

    Make the Control Toolbox visible
    Figure 2: Make the Control Toolbox visible.

    On the Control Toolbox toolbar, click the More Controls icon to bring up the list of controls that you can add to your slide (see Figure 3). Scroll down the list till you get to the newest version of Microsoft Office PivotTable in your system -- we chose Microsoft PivotTable 11.0.

    Choose the Microsoft Office PivotTable Object
    Figure 3: Choose the Microsoft Office PivotTable Object

    This causes the cursor to change into a cross-hair -- draw a rectangle roughly in the center of the slide (see Figure 4).

    The inserted PivotTable object
    Figure 4: The inserted PivotTable object

    PowerPoint 2007 users will need to enable the Developer tab on the Ribbon if it is not already visible. To do that, choose Office Button | PowerPoint Options, and select the Popular tab on the left. Then check the option that says Show Developer tab in the Ribbon.

    Now select the Developer tab of the Ribbon, and click the More Controls option within the Controls group to bring up the list of controls that you can add to your slide (see Figure 5).

    More Controls
    Figure 5: More Controls

    This causes the cursor to change into a cross-hair -- draw a rectangle roughly in the center of the slide (refer again to Figure 4).
  3. Right click on the PivotTable object in the slide and click Microsoft Office PivotTable 11.0 Object | Commands and Options (see Figure 6).

    Edit PivotTable Object
    Figure 6: Edit PivotTable Object
  4. This brings up the properties dialog box that you can see in Figure 7.

    Figure 7: Properties
  5. Click the Edit button next to the Connection option. this opens the Select Data Source dialog box as shown in Figure 8. This dialog prompts you for a named data source. Since we do not have a named data source with a connection to our Microsoft Access database, we first need to create a new data source.

    Select Data Source
    Figure 8: Select Data Source
  6. To do that, click the New Source. button to summon the Data Connection Wizard as shown in Figure 9. Here you will find various data source types that you can connect to.

    Data Connection Wizard
    Figure 9: Data Connection Wizard

    Click the Other/Advanced option, and click Next.
  7. This opens the Data Link Properties dialog box (see Figure 10). select Microsoft Jet 4.0 OLE DB Provider as the data option, and click Next.

    Data Link Properties
    Figure 10: Data Link Properties

    Specify your Microsoft Access database path and click Test Connection to check the connection to the database. (see Figure 11)

    Test Connection
    Figure 11: Test Connection

    If the connection tested fine, you'll see the message box shown in Figure 12. Click OK to dismiss this message box, and then click OK again in the Test Connection dialog box (refer again to Figure 11).

    Test connection succeeded
    Figure 12: Test connection succeeded
  8. You will now see all the tables and queries in your Microsoft Access database.  Any table or query can be the data source for your PivotTable. My sample database has only one table named Sales and no queries (see Figure 13). Select the Sales table, and click the Next button.

    Data Connection Wizard
    Figure 13: Data Connection Wizard
  9. This brings up the dialog box that you can see in Figure 14. Give your data source a name and description so you can reuse it, and click Finish.

    Data Connection Wizard
    Figure 14: Data Connection Wizard
  10. You'll get back to the Select Data Source dialog box from which we branched out earlier (refer to Figure 8). Click the Open button to get back to the Properties dialog box that you can see in Figure 15.

    Save data source
    Figure 15: Save data source

    You have now connected to the data source for the PivotTable and can now design the PivotTable. Click OK to get back to the embedded PivotTable control on your slide.
  11. Right click the PivotTable and choose the Microsoft Office PivotTable 11.0 Object | Edit option. This brings up a toolbar within the control area (see Figure 16). Click the Field List icon on this toolbar.

    Field List
    Figure 16: Field List
  12. This will bring up the Field List window, as shown in Figure 17. this contains a list of fields in the connected data source.

    Field List
    Figure 17: Field List
  13. A field in the Field Chooser can be any of these types:
    • Row
    • Column
    • Filter
    • Data
    • Detail

    You must either drop fields in the appropriate area within the PivotTable or you can select the field, and then choose the appropriate area within the dropdown list in the bottom right of the Pivot Table Field List dialog box (see Figure 17) -- and then click the Add to button.

    Drop or Add to the following fields:
    • Region field into the Row
    • Products field into the Column
    • Sales field into the Detail
    • Category field into Filter

    Your PivotTable should now look like what you can see in Figure 18.

    The PivotTable
    Figure 18: The PivotTable

  14. Set a caption or title for the PivotTable. Right click the PivotTable and select Command and Options (see Figure 19). In the Captions tab, type a Caption/Title for the PivotTable. I have typed XYZ Company Sales Data, as shown in Figure 19.


    Figure 19: Caption
  15. Run the PowerPoint presentation and you can edit the PivotTable with presentation running now!


  • You can do anything with the PivotTable with the presentation running. Try setting the Category Filter and presentation will refresh.
  • You can also change fields in the PivotTable with simple drag and drop all while the presentation is running. Swap the fields within the Row and Column positions.
  • The best part is the PivotTable can refresh with any changes to the database (data source). To refresh data from data source right click the PivotTable and click the Refresh Data option.

Jigsaw Shapes for PowerPoint (Full Slide Jigsaws)

This entire kit contains 5 different styles of jigsaw pieces: typical jigsaws, arrows, hearts, ovals, and rounded squares. Each jigsaw shape is available in three counts: small, medium, and large. We made these available in two slide sizes for both standard (4:3) and widescreen (16:9) resolutions.

You can get this kit for only $9.99.

Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.

Home | PowerPoint | Photoshop | PowerPoint Templates | PowerPoint Tutorials | Blog | Notes | Ezine | Media Kit | Feedback | Site Map | About Us | Contact Us

Link to Us | Privacy | Testimonials

PowerPoint Backgrounds | Christian PowerPoint Backgrounds | Business PowerPoint Presentation Templates

Plagiarism will be detected by Copyscape

©2000-2022, Geetesh Bajaj. All rights reserved.