+ Reply to Thread
Results 1 to 6 of 6

Help with creating an Average measure for three columns

  1. #1
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Help with creating an Average measure for three columns

    Hi Everyone
    I was wondering if someone can please help me with the following problem.
    I have a power pivot table which consists of the following:
    Dept Name, Score 1 Rank, Score 2 Rank and Score 3 Rank
    The ranks are all measure calculations.
    Dept Name Score1 Rank Score 2 Rank Score 3 Rank
    A n/a 2 1
    B n/a n/a 2
    C 1 3 3
    What I need is to create a measure which calculates the average of the three ranks
    i.e. Dept A = overall rank = average (score rank 1 , score rank2, score rank3)
    I try to use average a or average x but it say I can only use one argument and not all three.
    I also need to ignore the blanks so the average function is most suitable rather than adding and dividing by 3.

    Is the a way to do this.

    Thanks in advance

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Help with creating an Average measure for three columns

    Hi rv02,

    Have you tried using a Calculated Field in your source data to calculate the Averages?

    http://www.contextures.com/excel-piv...ted-field.html
    Remember you are unique, like everyone else

  3. #3
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Re: Help with creating an Average measure for three columns

    Thaks for the reply

    I have tried Calculate but am getting no luck with average function in calculate because it only lets me choose two columns and bot three

  4. #4
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Help with creating an Average measure for three columns

    I've created a table with some dummy data, made a Pivot Table from that & then a Calculated field.

    Try the Calculated field as shown & let me know how you go.
    Attached Images Attached Images

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,911

    Re: Help with creating an Average measure for three columns

    Can you post a sample workbook so we can see the actual data set up?

  6. #6
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Re: Help with creating an Average measure for three columns

    Dear noboffinme

    Thanks you for replying. I need to mention that I am using Power Pivot and not normal pivot and when I create a measure with Average(a1,a2,a3) for example I get the following
    Too many arguments were passed to the AVERAGE function. The maximum argument count for the function is 1.
    a1,a2 and a3 are measures which are reated from three different tables but all have a relation with each other with a common field.

+ 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. [SOLVED] Help to write a DAX measure to average three columns ignoring blanks
    By rv02 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-20-2016, 06:36 AM
  2. average ifs with average range in different lines / columns
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 12-23-2015, 07:49 AM
  3. [SOLVED] 12 months moving average measure
    By nielf in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-26-2015, 06:52 AM
  4. [SOLVED] Powerpivot Rolling Average Calculated Measure
    By hbusche in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 07-15-2013, 06:46 PM
  5. Trying to create an average formula without creating multiple columns
    By amerain in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2013, 12:46 PM
  6. Replies: 4
    Last Post: 05-23-2012, 03:22 PM
  7. help with macro - creating new columns/copying/creating new worksheets from default
    By vsantoro in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-17-2010, 09:29 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