+ Reply to Thread
Results 1 to 8 of 8

GrandTotal to sumamry power pivot values

  1. #1
    Registered User
    Join Date
    07-11-2008
    Location
    Oslo, Norway
    Posts
    16

    GrandTotal to sumamry power pivot values

    Hi, If I use average to display values in powerpivot table, can Grand total show total of those averages? So if my "Sale of product X" is on average 5 in Day1 column, 6 in Day2 Column, Grand total column would show 11? Normal query would use Average function in Grand Total column too..., but I need to summarice values in pivot.

    I have added the file, where it is easier to see what I try to achieve. I show there pivot, that uses average also for Grand Total column and then I added yellow column with excel formulas, but I would like that to be part of pivot or powerpivot. Is it possible?
    Attached Files Attached Files

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: GrandTotal to sumamry power pivot values

    add a measure to your pp pivot using this formula

    =SUMX(SUMMARIZE(Data,Data[Day],"AvgMeasure", AVERAGE(Data[Sale])),[AvgMeasure])
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    07-11-2008
    Location
    Oslo, Norway
    Posts
    16

    Re: GrandTotal to sumamry power pivot values

    Hi, tried new measure, but got following error message: "The expression is not valid or appears to be incomplete. Please review and correct the expression. The syntax for '[Day]' is incorrect."

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: GrandTotal to sumamry power pivot values

    was that your actual file that you posted? it works there when I run it

  5. #5
    Registered User
    Join Date
    07-11-2008
    Location
    Oslo, Norway
    Posts
    16

    Re: GrandTotal to sumamry power pivot values

    yes, it was same file I tried to add measure. Would you be able to load file with measure saved in it?

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: GrandTotal to sumamry power pivot values

    sure thing-here it is
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-11-2008
    Location
    Oslo, Norway
    Posts
    16

    Re: GrandTotal to sumamry power pivot values

    This is great! It is just what was needed. I will now spend time to try to understand how this works

  8. #8
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: GrandTotal to sumamry power pivot values

    you're welcome :-)

    please don't forget to mark the thread solved (click the 'thread tools' link at the top, then 'mark solved')

+ 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. Pivot Table - GrandTotal at Start
    By pr4t3ek in forum Excel General
    Replies: 5
    Last Post: 03-27-2014, 01:40 PM
  2. Power Pivot issues regarding dynamic values (currency)
    By jiggaboi in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-21-2013, 09:54 AM
  3. Date formats in pivot tables using power pivot in Excel 2010.
    By myobreportguru in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-25-2013, 10:21 PM
  4. Power Pivot with multiple pivot charts using different pivot data
    By Paul-NYS in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-10-2013, 10:18 AM
  5. pivot table from Power Pivot not displaying thousand separator/comma
    By Paul-NYS in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-04-2013, 01:05 PM

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