+ Reply to Thread
Results 1 to 3 of 3

Pivot Chart Slicer show total when all options are selected

  1. #1
    Registered User
    Join Date
    02-28-2019
    Location
    Florida
    MS-Off Ver
    2016
    Posts
    16

    Pivot Chart Slicer show total when all options are selected

    Hi,

    I have a Pivot Table and Pivot Chart that shows the quantity sold of a product, with the option to be filtered by year sold, state sold, and product sold. I currently have the data displayed in a column chart, but it looks a bit cluttered since it produces a column for each product and each state. I have slicers for the year, product and state so that I can filter down to see a specific state and/or product over time, but when I have multiple states/products selected I have the cluttered column problem.

    Is there a way to set up the chart so that when I have multiple products and/or states selected at the same time the chart will sum up and display the aggregate totals in a single column per year instead of a single column for each product and each state in each year?

    For example, if I have all states and products selected by the slicers, I want to make it display the total sales for each year. If I have one state and all products selected, I would like it to display the total sales (all products included) for each state over time with one column per state. If I have one product with all states selected, I would like it to show me total sales for that product in each year that is in the filter.

    Here is some sample data with a sample chart and slicers already created up to the point that I just described. Thank you for your help!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2015
    Location
    Nowy Tomysl, Poland
    MS-Off Ver
    2019, O365
    Posts
    398

    Re: Pivot Chart Slicer show total when all options are selected

    Hello,
    To do this you need to combine the sales tables into one (the more it is easy because they have the same data layout).
    Only on the combined table, create a data model. Combine tables with Power Query and add to the data model.
    Regards
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-28-2019
    Location
    Florida
    MS-Off Ver
    2016
    Posts
    16

    Re: Pivot Chart Slicer show total when all options are selected

    That makes sense, thank you!

    I didn't realize that I could remove a field from the pivot table field list and still use it as a slicer. Thanks for the help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Show Grand Total to Pivot Chart
    By bensen123 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-21-2019, 08:18 AM
  2. Replies: 6
    Last Post: 06-24-2016, 12:40 PM
  3. [SOLVED] Show total for pie chart from a pivot table in title
    By kaleonard08 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-25-2016, 02:46 PM
  4. Changing Pivot Chart Y-Axis when different slicer is selected
    By future_career in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2016, 05:22 PM
  5. Pivot Chart changes total when I select items from the slicer
    By Mrs.H in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-11-2016, 01:55 PM
  6. Pivot Chart - Show Selected Filters
    By grey in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-05-2014, 01:22 AM
  7. How do I show the Grand Total on a Pivot Chart?
    By Scott_F in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-26-2005, 12:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1