+ Reply to Thread
Results 1 to 5 of 5

trouble correctly setting up a calculated field in a pivot table

  1. #1
    Registered User
    Join Date
    12-13-2014
    Location
    Minneapolis
    MS-Off Ver
    MS Office 2010 Pro 32 bit
    Posts
    23

    trouble correctly setting up a calculated field in a pivot table

    I have a field called "sum of purchases". I can set the pivot up to display this field correctly as a % of the column total. However, I want to be able to setup a separate calculated field as "% of sum of purchases". I think I need to do this so that I can use this new field in another calculation which would then multiply a "Rebate" field number by the percentage. However, I'm struggling to get the first new field to compute correctly.

    Here's my formula for the calculated field for "% sum of Purchases":

    =IF(ISNUMBER('Sum of purchases'/ SUM('Sum of purchases')),('Sum of purchases'/ SUM('Sum of purchases')),0)

    What's wrong with this picture? Why can't I get the rows to display as a component percentage which would sum up to the column total at the bottom? Np to do this with the original field set to show values as % of column total, but as I outlined above, I'm thinking I need to setup the calculated field separately ... so it can be included in a second calculation.

    Any ideas?

    Thanks!!

    Steve

    btw ... cross posted:

    http://www.mrexcel.com/forum/excel-q...vot-table.html

    http://answers.microsoft.com/en-us/o...e-a096e306b41b

  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,274

    Re: trouble correctly setting up a calculated field in a pivot table

    You can't do that with a calculated field in a regular pivot table. You could do it if you have Power Pivot?
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    12-13-2014
    Location
    Minneapolis
    MS-Off Ver
    MS Office 2010 Pro 32 bit
    Posts
    23

    Re: trouble correctly setting up a calculated field in a pivot table

    Are you sure it is just not possible to do that ?

    Thanks,

    Steve

  4. #4
    Registered User
    Join Date
    12-13-2014
    Location
    Minneapolis
    MS-Off Ver
    MS Office 2010 Pro 32 bit
    Posts
    23

    Re: trouble correctly setting up a calculated field in a pivot table

    Okay, I have PowerPivot setup ... any idea on how to implement within PowerPivot ?

    Thanks,

    Steve

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

    Re: trouble correctly setting up a calculated field in a pivot table

    Can you post a sample workbook?

+ 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. Replies: 0
    Last Post: 03-02-2013, 08:15 AM
  2. [SOLVED] Pivot calculated field not summing correctly
    By cgcordry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-28-2005, 03:05 AM

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