+ Reply to Thread
Results 1 to 3 of 3

Changing CacheIndex causes the calculated fields to be lost

  1. #1
    Registered User
    Join Date
    05-06-2010
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Changing CacheIndex causes the calculated fields to be lost

    Hi
    We are creating a new pivot cache and then changing an existing pivot tables cache index to the new cache pivotcache.index value.

    pvtTable.CacheIndex = pc.index

    By doing so we lose the pvtTable.CalculatedFields.Item values. Can anybody please explain how we can work around this problem


    Thanks

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,717

    Re: Changing CacheIndex causes the calculated fields to be lost

    The Calculated fields are part of the cache, so you'd have to add them to the new cache too.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    05-06-2010
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Changing CacheIndex causes the calculated fields to be lost

    Thanks for the reply. I fig out that the calculated fields are part of the cache but can you please explain how to I move it to the new cache

+ 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