+ Reply to Thread
Results 1 to 19 of 19

Distributed Pivot Table Erases Fields & Columns on Refresh

  1. #1
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Distributed Pivot Table Erases Fields & Columns on Refresh

    I have a pivot table referencing a dynamic named range (DNR) within the workbook (not referencing content in another workbook). When I update the content in the DNR on my local, the pivot table refreshes properly. When I send the file to my customer, the same updating steps result in the pivot table removing all value and columns fields from the pivot table upon refresh. I have confirmed that the DNR is still referencing the same data range on their end. It is not broken. Additionally, the DNR is not referencing an external workbook. It is referencing content within the same workbook.

    I am at a loss as to why this problem would arise on a different machine.

    The attached image shows the Field List before (left) and after (right) the refresh on the customer's machine.

    beforeandafter.png

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Hi JTWood,

    What do you mean by a DNR?

    Please explain what you mean by a DNR - an example would be good.

    Thanks
    Remember you are unique, like everyone else

  3. #3
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Dynamic named range (DNR)

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Please Login or Register  to view this content.
    1) The values on the responding data (of the pivot table) are gone?

    2) Or there is a failure in the values on the responding data?

    refering to the second comment, you and your costumer using the same version of excel?

    you will get a failure if you use formula e.g. in excel 2007, which don't exist in the excel 2003 version.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    The value fields are gone, as though they were deselected.


    We are both on 2010. Apologies for not including that originally.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    So there is no underlaying data at all?

    I never heard of that problem.

  7. #7
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    When the data disappears what is the exact text shown for the source data?
    Remember what the dormouse said
    Feed your head

  8. #8
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    No. It's like the pivot itself shrinks down to a one-column table.
    If I select the cells where the values used to show up, the pivot option menu doesn't even appear in the ribbon bar.

    I should add that this happens both before and after they run their updates.
    I think I stated otherwise in my OP. Just the presence of the file on their machine causes the refresh option to behave this way.

  9. #9
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Sorry, you did explain that earlier.

  10. #10
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Just gonna bump this one time and then I'll let it go

  11. #11
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Just one thing, have you actually gone to the other PC where you sent the file & checked that it doesn't work?

    I created a file once & couldn't find out what was happening - until I sat down next to the user & found they were doing things they hadn't advised me of.

    Take your file & manually take it to another PC ie copy to a Flash drive & then test it against a file sent by e-mail.

    Check that they're both exactly the same.

    Might at least give some insights...

  12. #12
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    I haven't gone there physically: They are in Toronto, and I'm in St. Louis.
    However, we did everything over a screen share. I witnessed all of it as the customer followed my instructions.

    But that does spur a thought. I had to send the file through my company's large file distribution network. It's possible that could have messed the file up somehow. I will send it to myself and see if it causes the same issue on my machine.

  13. #13
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    OR send it to someone in your office, besides yourself.

    I'd also get the Toronto office to send it back to you just as another check of behaviour.

    May not help, but maybe it will ...

    Good luck

  14. #14
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Looks like distributing the report has nothing to do with the issue. Originally, I thought there was no bug with my local version, but now I am recreating the bug perfectly on my end pre-distribution.

    I might have a bead on the problem.

    Part of the updating process for this workbook involves copying the page with the dynamic named range and storing it as a temporary backup. This backup process creates a copy of the DNR with the same name as the original but a scope set to the name of the new worksheet. My backup process also deletes some unnecessary columns from the backup. Those columns are what are disappearing in the pivot table and are not even available for selection in the field list. I have double-checked that the pivot table is definitely referencing the original DNR that is scoped to the entire workbook, but that doesn't seem to fix the issue.

    I'm going to go back and have the code remove the copied DNR before any editing takes place, but I'm curious if anyone else has seen a similar issue in the past.

  15. #15
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    You never answered my question:
    When the data disappears what is the exact text shown for the source data?

  16. #16
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    I thought I answered it, which means I don't understand exactly what you are looking for.

    Are you asking about what is shown when I open the 'Source Data' menu in Pivot Table > Options?

  17. #17
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    Yes - what is the exact text there?

  18. #18
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    It is the name of the named range: 'e2e_all'

  19. #19
    Registered User
    Join Date
    05-06-2006
    Posts
    39

    Re: Distributed Pivot Table Erases Fields & Columns on Refresh

    I have confirmed my earlier suspicions that the existence of multiple copies of the same named range are to blame here.
    In testing, I have re-created the processes that copy the worksheet, including the named range, but I have re-titled the named range copies before refreshing the pivot table.
    In that scenario, the pivot table does not lose the value fields.
    If I leave the named range copies unedited, the pivot table jettisons the value fields.

    Thanks to those who took a moment to chime in.

+ 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. grouping some columns in date fields in pivot table
    By anilrini in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-27-2012, 10:15 AM
  2. Pivot Table: Columns not selectable as fields
    By Oaki in forum Excel General
    Replies: 1
    Last Post: 09-15-2009, 07:55 PM
  3. Refresh Data erases my rows!
    By paindivine in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-12-2006, 06:15 PM
  4. [SOLVED] Pivot table - how to get two data fields shown in two columns
    By Seamus O'Connell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-11-2006, 09:35 AM
  5. Replies: 0
    Last Post: 10-12-2005, 11:05 AM

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