+ Reply to Thread
Results 1 to 7 of 7

Help to calculate % automatically in Pivot Table

  1. #1
    Registered User
    Join Date
    10-25-2006
    Posts
    48

    Help to calculate % automatically in Pivot Table

    Can i calculate automatically the % of a certain number into a pivot table based on each break ?

    the attached file provides a better information about the question....

    thanks !
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Help to calculate % automatically in Pivot Table

    You could opt to display Sum of People as % of Parent Row Total

    Note: this would affect your Subtotals in so far as they too would become % of their Parent Total - so you might opt to show Sum of People twice over (once showing as Sum and the other as the aforementioned %)

  3. #3
    Registered User
    Join Date
    10-25-2006
    Posts
    48

    Re: Help to calculate % automatically in Pivot Table

    I've checked this option... but i was only able to see % for the row ... which return all values as 100% or the % for the column, which return % for all values ...


    any idea to break by each city ?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Help to calculate % automatically in Pivot Table

    Would help if we knew the version ... you might find it simplest to move City to Column Field (from Row) and then use % of Column.
    (assumes you have less Cities than unique Dates else you could reverse and use % of Row)

  5. #5
    Registered User
    Join Date
    10-25-2006
    Posts
    48

    Re: Help to calculate % automatically in Pivot Table

    the version is 2003... and the data is around 20.000 records to process... so there will be a lot of differences for this column.

  6. #6
    Forum Contributor leo73pk's Avatar
    Join Date
    09-28-2006
    Location
    UAE
    MS-Off Ver
    2016, Microsoft 365
    Posts
    294

    Re: Help to calculate % automatically in Pivot Table

    @ cyberuser,

    may be you are looking for this.
    Attached Files Attached Files

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Help to calculate % automatically in Pivot Table

    Quote Originally Posted by D.O
    ...you might find it simplest to move City to Column Field (from Row) and then use % of Column.
    Quote Originally Posted by cyberuser
    ...there will be a lot of differences for this column.
    If you're saying you have too many unique cities for a Column Field set up then I confess I'm not sure there's a way to do what you want within the (2003) PT itself - that said I'm no expert on Calculated Fields etc...

    Adding additional info to your data sheet would be the logical next step, however, given the sample data (lack of order), suggested volume of data (20k) and version that would be pretty inefficient

    To elaborate on the additional info. route - using your sample file:

    Please Login or Register  to view this content.
    You can then add %Alloc to your PT (set to SUM)

    This won't be quick... it would be better to sort the source data by City & Date and then your calculations would be significantly faster (instantaneous)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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