Consulting

Results 1 to 10 of 10

Thread: Disappearing calc field in pivot table

  1. #1
    VBAX Mentor
    Joined
    Aug 2012
    Posts
    367
    Location

    Disappearing calc field in pivot table

    Hi

    I have a pivot table with calculated field.
    If I update the source data range, it disappears.

    does anyone know why, and how to prevent this?

    Thanks
    Tim
    Remember: it is the second mouse that gets the cheese.....

  2. #2
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    Do you mean the field disappears from the field list?
    Be as you wish to seem

  3. #3
    VBAX Mentor
    Joined
    Aug 2012
    Posts
    367
    Location
    yes. it disappears from the pivot table, and the field list, and re-entering the calculation as a new calc field gets boring rather quickly.
    The field is calculated as a division of 2 existing fields - neither of which are affected by the changed input field range
    Remember: it is the second mouse that gets the cheese.....

  4. #4
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    How precisely do you update the source data range?
    Be as you wish to seem

  5. #5
    VBAX Mentor
    Joined
    Aug 2012
    Posts
    367
    Location
    from the change data source button in the pivot table tools tab
    Remember: it is the second mouse that gets the cheese.....

  6. #6
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    Are you simply extending the data range (eg using more rows) or using a different range? I have often seen a calculated field convert to #REF errors when altering the source data but not disappear altogether.
    Be as you wish to seem

  7. #7
    VBAX Mentor
    Joined
    Aug 2012
    Posts
    367
    Location
    I extend it, or shrink it to remove blank columns (illegal row names). in all cases, the fields going into the calculated fields are completely unaffected (one would think)

    it is set up as 'A:AH', and i change it to "A:AI' or 'A:AG'
    Remember: it is the second mouse that gets the cheese.....

  8. #8
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    Strange. Which version of Excel are you using?
    Be as you wish to seem

  9. #9
    VBAX Mentor
    Joined
    Aug 2012
    Posts
    367
    Location
    tis office 2010.
    Remember: it is the second mouse that gets the cheese.....

  10. #10
    VBAX Mentor
    Joined
    Aug 2012
    Posts
    367
    Location
    and just tried to recreate the scenario in a sample worksheet so I could post it, and completely failed......

    I have just upgraded to a new lappy on win 7 (was using an older lappy on xp).

    I might just have to start calling this a feature instead of a bug....

    I'll have one more dig next time I open the sheet, and post what I find. If I find nothing constructive to the thread, I'll call it closed

    Thanks for your interest so far anyway
    Remember: it is the second mouse that gets the cheese.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •