How to Troubleshoot Pivot Items Missing From Excel Pivot Table

Troubleshoot Pivot Items Missing From Excel Pivot Table

Why are a couple of pivot items missing from this pivot table? The source data has these employees marked as “Yes”, but that information isn’t showing up in the pivot table summary. How can we troubleshoot pivot items missing from our pivot table?

Why Did Pivot Items Disappear?

Last week, a friend asked me for help with her pivot table — why did some pivot items disappear? We were troubleshooting the problem over the phone, so I couldn’t figure it out at first.

Here is a screen shot of a sample pivot table that shows the same problem, with fake data.

  • The Attending column is empty for Ida Gray and Ken Gray.
  • The correct information appears for other employees – you can see “No”, “Yes” and “(blank)” responses.

pivotitemshidden02

Troubleshoot Pivot Items Missing

Sometimes data isn’t visible because the pivot table hasn’t been refreshed recently. So, I asked my friend to right-click on the pivot table, and click Refresh, just in case that was the problem.

Unfortunately, that didn’t solve the problem. The pivot items didn’t magically appear after the refresh. What else can we do to troubleshoot pivot items missing from a pivot table?

pivotitemshidden03

What’s In the Source Data

The next thing I asked my friend to do was to check the source data, to see what was entered in the table for those people.

  • Perhaps there was a space character in the Attending column, and that was showing in the pivot table.
  • Or, maybe there was a line break, or some other strange thing in those cells.

That wasn’t the problem – the Attending column had a “Yes” for both Ida Gray and Ken Gray.

But, just to be cautious, she copied a Yes from another row, and pasted it in the problem rows. Then, she refreshed the pivot table again, and still no luck.

pivotitemshidden01

Confirm the Data Source

So the data was in the source table, but not in the pivot table. Strange.

Next, I asked my friend to confirm that the pivot table was connected to the correct table – there were a couple of other tables in the workbook.

She clicked the Analyze tab on the Excel Ribbon, then clicked the Change Data Source command.

The Change PivotTable Data Source dialog box opened, and the correct table was highlighted. So, she clicked Cancel, to close the dialog box.

pivotitemshidden04

Expand the Pivot Fields

Finally, it dawned on me — you can expand or collapse the pivot fields and pivot items. Maybe something had been accidentally collapsed.

I asked my friend to try these steps:

  • Select one of the pivot items in the outermost pivot field (Region).
  • On the Excel Ribbon, click the Analyze tab
  • Click the Expand Field command (if the Excel window is narrow, you might not see the words, just the icon)

And that worked! The “Yes” pivot items finally appeared for Ida Gray and Ken Gray. My friend was very happen, and got back to work on her project.

I decided to dig a bit deeper though, into the secrets of how to expand and collapse pivot fields and pivot items.

pivotitemshidden06

How Did the Pivot Items Accidentally Collapse?

The only remaining mystery was how those pivot items disappeared in the first place. My friend hadn’t intentionally hidden them.

I remembered that she had asked how to hide the pivot table’s plus and minus signs, earlier in our phone call. Those are the Expand/Collapse buttons, and here is a screen shot of the table with those buttons showing:

pivotitemshidden08

If you click one of the minus signs, everything in the fields below that is hidden. For example, if you click the minus sign at the left of East, it collapses — all the names for East are hidden.

pivotitemshidden09

Later, you can click the plus sign at the left of East to expand it again, and show all the hidden information.

Collapse A First Name

The first name (NameF) and last name (NameL) fields have plus and minus signs too. If you click the minus sign for Ida, the “Gray” and “Yes” disappear. Later, click the plus sign to show them again.

pivotitemshidden10

Collapse a Last Name

Hmmm…now we’re getting closer to solving the mystery. What happens if you click the minus sign for the last name in the Ida Gray row?

It doesn’t just hide the Attending information in the Ida row – it hides the Attending information for anyone with “Gray” in the NameL field.

So that’s why both Ida Gray and Ken Gray would have missing information. The “Gray” last name was accidentally collapsed, before the Expand/Collapse buttons were hidden.

pivotitemshidden11

How to Hide the Expand/Collapse Buttons

If you want to show or hide the Expand/Collapse buttons, follow these steps:

  • Right-click a pivot table cell, and click PivotTable Options
  • Click the Display tab
  • In the Display section, add or remove the check mark for “Show expand/collapse buttons”
  • Click OK to close the dialog box

pivotitemshidden07

Expand or Collapse Without the Buttons

If the  Expand/Collapse buttons have been hidden, you can still expand or collapse the pivot items. It’s easy (maybe too easy!) – just double-click a cell in one of the outer pivot fields, to collapse or expand that item.

pivotitemshidden12

That double-click trick also works if the plus/minus signs are showing, so be careful when you double-clicking in a pivot table!

NOTE: You can’t collapse the innermost field if you double-click on it. Instead,

  • If there are Value fields, the Show Detail dialog box will appear.
  • If there are no Value fields, you’ll hear a warning sound, and nothing happens in the pivot table

More Expand/Collapse Tips

To find more tips the pivot table expand and collapse feature, go to the Expand and Collapse a Pivot Table page on my Contextures website. There is a free workbook that you can download, to follow along with the tips to troubleshoot pivot items missing.

_____________

Save

21 thoughts on “How to Troubleshoot Pivot Items Missing From Excel Pivot Table”

  1. Thank you soooooo much.
    This can solve my problem.
    And further unbelievable, it is just because of simple expand and collapsed click. :):)
    Marvelous Debra….

  2. Thank you so much. I had a student with this issue, and this helped us fix it quickly. Thank you so much for documenting it so well.

  3. I double clicked!!! Thank you for the wonderful explanation and snapshots. It saved me a lot of hair pulling and head banging!

  4. Amazing. Not only the way to resolve the issue, but the logic way of thinking and telling the story & resolution, and the root cause analysis. ALL IN ONE piece.

  5. Thank you. I faced this issue however, the reason from my side was that it seems that I wrongly typed space on one category name (company name). As a result, this company’s name in the report was always empty. I figured out this issue so I re-typed its name in one field inside the report and it worked perfectly.

  6. Thankyou.. I knew about the expand and collapse thing but I had multiple versions of the same pivot table and the missing data was only happening on one of the versions so I didn’t even spot the expand buttons weren’t expanded!!!…. solved my problem and eased my stress!!!

      1. Good day, I have a almost similar problem but somehow different. All of the data (items) under the field didn’t show and I am certain I didn’t select that option to show or hide collapse anything. How can I make them visible?

  7. This was a great explanation, and I’ve used every thing you mention to try and figure out why one client’s information is not showing up in the pivot table. The workbook is a rough expense report for 2022 for my daughter, who started her own architecture company. I have cleared the contents of the two rows that hold the info on “Harry Smith,” and re-typed it. I have made sure the data source includes it (I made it go to 600 rows for now). The Expense and Mileage Report tabs show info for Joe Lopez, but not Harry Smith. I had the Client field as a Filter, and when it didn’t work, moved it to a top row. WTH? I feel like it should be obvious, but I’ve spent hours trying to figure this out. Your site is the first one that actually had a variety of solutions.
    Donna

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.