+ Reply to Thread
Results 1 to 9 of 9

Pivot Table ShowDetail (Double Click) shows too many entries

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    Minneapolis
    MS-Off Ver
    Excel 2007
    Posts
    4

    Cool Pivot Table ShowDetail (Double Click) shows too many entries

    Got this issue today, and haven't been able to solve it. Data looks similar to what you see below. I am creating a Pivot Table out of this, and use SUM as a Field Setting. When double clicking the data, i get more records than i am expecting. Even though England - Bronze shows 5 on PT, all 8 show up. What is the best way around this? Am i missing a simple PT setting? Or will i need to code some crazy VBA getpivotdata/doubleclick/showdetail module? Thanks in advance!

    Event Country Bronze Silver Gold
    1 England 1 1 0
    2 England 0 0 1
    3 England 1 1 0
    4 England 1 1 1
    5 England 0 0 0
    6 England 1 0 0
    7 England 0 1 1
    8 England 1 1 1
    9 Russia 0 0 0
    10 Russia 1 1 1
    11 Russia 1 1 1
    12 Russia 0 0 1
    13 Russia 1 1 1
    14 Russia 0 0 1
    15 Russia 0 1 1
    16 Russia 0 1 1
    17 Russia 0 0 1
    18 Ethiopia 1 1 0
    19 Ethiopia 1 0 0
    20 Ethiopia 0 0 0
    21 Ethiopia 1 1 1
    22 Ethiopia 1 1 1
    23 Ethiopia 0 0 0
    24 Ethiopia 1 0 0
    25 Ethiopia 1 1 1
    26 Ethiopia 0 1 0
    27 Ethiopia 1 1 0
    28 Ethiopia 1 1 1
    29 Ethiopia 0 0 1
    30 Ethiopia 1 1 0
    31 Ethiopia 1 1 1
    32 USA 0 0 1
    33 USA 0 1 1
    34 USA 1 0 0
    35 USA 1 0 1
    36 USA 0 1 0
    37 USA 0 0 1
    38 USA 1 1 0
    39 USA 1 1 1
    40 USA 0 0 1
    41 USA 1 1 0
    42 USA 1 0 0
    43 USA 1 1 1
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    Hi and welcome to the forum,

    Did you double click on the "5" where England and Bronzes intersect? When I double click on this I get 8 rows of data on another sheet.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    05-15-2013
    Location
    Minneapolis
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    Yes, double clicking the 5, i also get 8 rows of data, but i only want to see the 5 that are part of the pivot table.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    That is what it shows. If you want to then filter the data, you can click the dropdown and only show Bronzes that have a 1 in the row. I think you are expecting more that what Excel does.

  5. #5
    Registered User
    Join Date
    05-15-2013
    Location
    Minneapolis
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    Right, but I've got 40k lines down vs 120 0/1 fields that i have to sift through, i might have an idea, stitching a bunch of PTs together.

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    OK Try this,

    I've restructured your data a little bit and done some more fancy pivot table filters. See the attached.... I'm not sure what you are really looking for. Is it the events that England got a Bronze?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-15-2013
    Location
    Minneapolis
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    @ marvinp, that's not what i am looking for, but thanks for the try. The actual case i am working on has nothing to do with medals, i just used that as an example. i need to be able to sum every country's medals, and on the double click get the correct data to show up. i can't use those fields as filters, because Excel treats them as "AND", and not "OR" filters. Filtering out where Bronze = 0 automatically removes every entry where Bronze = 0 (even if that entry had Silver = 1, or Gold = 1), not just the entries under that Country. The right thing here is to have a one-to-many relationship, but that is 40k lines x 120 0/1 flags = 4.8 million lines. I was hoping there was an easy solution, but alas

  8. #8
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    I'm still confused on what "the correct data to show up" means. Using your first example with the data and the pivot table. Could you show up what you expect to show. That would be most helpful to understand this answer you are looking for.

  9. #9
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Re: Pivot Table ShowDetail (Double Click) shows too many entries

    Quote Originally Posted by oljasmn View Post
    Yes, double clicking the 5, i also get 8 rows of data, but i only want to see the 5 that are part of the pivot table.
    Hello Oljasmn, When you double click on a number in the values side of a pivot table it gives you all the data of related row label. In this case when you double click it gives you all the information related to that row label (England). This row label appeard 8 times in raw data set so despite you clicking on Value (Bronze 5) its giving you full info. You will get the same result if you click on Gold or silver value of current row label. If you go down to H4 and double click you will notice that you are getting all the information related to that row label.
    This feature comes handy when source data is not available with the pivot table and you want to look into it. This feature also helps when you want to present or share a quick report with data limited to one row label.
    Hope this information helps.
    Best Regards/VKS

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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