+ Reply to Thread
Results 1 to 4 of 4

Want Pivot table's average to show average by number of month.

  1. #1
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Want Pivot table's average to show average by number of month.

    Hi, whenever i change the value setting to average. My pivot keep giving me totalsum/totalcount. How do i change it to totalsum/totalmonth?

    See attached
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Want Pivot table's average to show average by number of month.

    Do you want the "Number of Months" to be the months which had sales for each Pdt / Salesman combination? Or the total number of months in the dataset?

    Are you still using Excel 2010, or a later version? If 2010 - do you have / can you install PowerPivot?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Re: Want Pivot table's average to show average by number of month.

    I want it to be divided by the number of months. In my case, it will be 3 since May, Jun and July. If i input Aug data, it will be 4 since May, June, July and AUg.

    Yes, i do have powerpivot. So do you mean i should check the "add to data model" first when creating the Pivot Table?

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Want Pivot table's average to show average by number of month.

    Add your data table to the PowerPivot data model.

    Add the following measure:
    Please Login or Register  to view this content.
    Now create your Pivot Table from the Data Model, and use that measure in the Values section.

    See attached for worked example.
    Attached Files Attached Files

+ 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. Want to show an average of one name in Pivot table
    By NoobLearner in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-29-2019, 09:01 PM
  2. Pivot table to show average no. orders on a day of the week
    By BeciG in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-21-2017, 05:25 PM
  3. [SOLVED] Average Sales per Month and Year from Table w/o Pivot
    By prosemur in forum Excel General
    Replies: 3
    Last Post: 07-11-2016, 07:11 PM
  4. Show Group Average on Filtered Pivot Table
    By rryanp in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-06-2015, 01:40 PM
  5. [SOLVED] Pivot Table - how to show Average Mvt Time
    By stemelliott in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-20-2015, 01:54 PM
  6. Average Difference Based by Month with Pivot Table
    By D.Fermi in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-09-2015, 11:32 AM
  7. Three month average calculation in pivot table
    By Aland2929 in forum Excel General
    Replies: 1
    Last Post: 09-26-2012, 04:26 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