Pivot Table Update with no source data still retains old data - Excel 2010

pjsommer

New Member
Joined
Jan 13, 2016
Messages
3
I am working in Excel 2010, and have a pivot table that is pointed to a worksheet where the data changes every week.

Sometimes there is data in the rows, and very occasionally, my report returns 'no data' - so my source data has column headers, but there is nothing for the pivot table to 'grab'.

When this situation occurs, and I look at the pivot table, I still see the 'Ghost of Data Past' - I expect to see no data in the pivot table, but I still see one old entry - just one record.........even if there is nothing in the source data worksheet. The chart that is based on pivot table results, then shows that there is '1' entry - falsely. I have tried deleting several rows in the original worksheet, but that doesn't help

How do I get rid of that one annoying row that is hanging on? I need to be able to show a chart that basically has nothing in it - so I can just put a text box in it saying 'No Data for this month' , or whatever.

I have tried marking 'number of items to retain per field' under "Retain item deleted from the data source' to 'None', but I still see that ghost in my pivot table. I can't 'Refresh' the pivot table because I get an error that says "This command requires at least two rows of source data." Unhelpful, to say the least.

I know it requires two rows of source data, but I have one row - the column headers - with no data underneath......Do I just have to delete the chart manually? Can't I just have the pivot table display 'no data'? This is making me very crabby -
 

Forum statistics

Threads
1,082,275
Messages
5,364,180
Members
400,785
Latest member
Mahar92

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top