+ Reply to Thread
Results 1 to 6 of 6

Make Pivot Chart Only Show Top Information

  1. #1
    Registered User
    Join Date
    03-08-2016
    Location
    San Diego, California
    MS-Off Ver
    2013
    Posts
    26

    Make Pivot Chart Only Show Top Information

    Hi,

    I have a table that was given to me with a lot of columns and rows of data. I need to make a dashboard for the data that only shows the most important information. My current spreadsheet has multiple pivot tables and charts with slicers and filters. However, I am completely stumped on the pie chart. I want to have 2 pie charts. One that has all of the information and another that only shows the top 3 or 4 sources. Also, how can I have the data labels set for all the information. When I filter, the data labels change or don't exist. I want this to be consistent through the whole thing.

    If there are any suggestions on maybe another chart to do or how to show this information that would be great.


    I have attached a sample workbook of what I kind of have with a lot of nonsense information (as you will be able to see).


    Thank you so much for your help and suggestions.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Make Pivot Chart Only Show Top Information

    I don't think you can do this with the data organized the way it is. You will have to transform it to look like:
    Attached Images Attached Images
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    03-08-2016
    Location
    San Diego, California
    MS-Off Ver
    2013
    Posts
    26

    Re: Make Pivot Chart Only Show Top Information

    Thank you,

    Is there a formula I can use to do this while keeping it in the same table?
    My current spreadsheet looks like Sheet5 in the sample. I want to keep everything on the same table due to my other pivot tables and how I have them connected by slicers.

    Is it possible to make a separate table and somehow connect the pivot tables so I can use only one slicer to filter both?

    Thank you again for your help and suggestions.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Make Pivot Chart Only Show Top Information

    This would be a lot simpler if the numbers were integers instead of decimals. You can't used ROUND in conjunction with COUNTIF in an array formula.

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Make Pivot Chart Only Show Top Information

    This is a limited implementation. It's only good for the top 5.

    I have a whole bunch of helper columns. I had to used a lot of array formulas so I could use the ROUND formula.

    The first set of formulas are:
    =ROUND(LARGE(Table4[@[Beverage 1]:[Dessert 3]],1),0)
    I get the 5 largest values and some of them may be ties.

    The next set of columns to look at are AJ to AM. These determine which one of the ties to look at. For example, on the second row, there is a three-way tie for 2nd place with a total of 25. The countif formulas show that I want to find the 1st, 2nd and 3rd occurrences of 25 in that order.

    Columns AE to AI find the columns in which these occurrences happen. The first one is easy. We're looking for the first occurrence of the biggest fish in the pond. So it's MATCH =MATCH([@[Large 1]],ROUND(A2:S2,0),0).

    The next sets get either the second, third or whatever occurrence of the same number, or the first occurrence of the next lowest number. =MATCH([@[Large 1]],ROUND(A2:S2,0),0)

    This is a modification of a general formula Nth occurrence =LARGE(((Range=Value)*COLUMN(Range)),COUNTIF(Range,Value)-N+DataStartColumn)

    Substitute ROW for COLUMN if looking at a row array. This formula had to be modified since COUNTIF doesn't like to work with ROUND in an array formula. I replaced this with SUM(1 * (Round(Range,0) = Value)). For some reason, that worked.

    Finally once I got the rows, I used them in INDEX / MATCH to get the menu items.

    I could have combined all the helper formulas into one big formula, but I left it in pieces since it is easier to understand and debug that way.

    Use the top 5 in your pie charts.
    Attached Files Attached Files
    Last edited by dflak; 03-25-2016 at 04:57 PM. Reason: add attachment

  6. #6
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Make Pivot Chart Only Show Top Information

    On your "Sales" sheet I have used the table to create a pivot table & pivot chart.
    You can use the filters to select for example "Sunday" and "Breakfast" and the changes are reflected in the pivot chart.
    Please see attached.
    Is this what you are after?
    (your data is not date related so it will not show the data for just one day or one week)

    peterrc
    Attached Files Attached Files

+ 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. Replies: 4
    Last Post: 11-26-2014, 09:44 AM
  2. Trying to make a chart with difficult information! HELP!
    By CarlyRose in forum Excel General
    Replies: 0
    Last Post: 07-18-2014, 07:37 AM
  3. [SOLVED] Multiple Columns in Pivot Table (but don't show in Pivot Chart)
    By Gideon1973 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-23-2012, 10:57 AM
  4. How can I make a none value cell not show as zero on a chart?
    By cybermrt in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-07-2005, 05:40 AM
  5. can I make a chart with large amount of information?
    By Snoozin in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-14-2005, 09:05 AM
  6. [SOLVED] how do i make a chart using text information?
    By danielle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-26-2005, 06:06 PM
  7. Replies: 0
    Last Post: 01-06-2005, 01:37 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