+ Reply to Thread
Results 1 to 3 of 3

DAX average for Year

  1. #1
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    594

    DAX average for Year

    Hi,

    I've got the answer I want but think there might be a better way I want to calculate the average of units values for a year,

    I started by creating an average for the using averageX over the Month Year


    Please Login or Register  to view this content.
    and then wrapping this in calculate :

    Please Login or Register  to view this content.

    I've then used this a a denominator for a dvision of current Unit value. I there a better way avoiding the need for Calculate
    and just feeding the correct table granularity into AVERAGEX in the first place? It just seem odd to use values and then remove them.

    Workbook attached with example.

    RD
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: DAX average for Year

    You're not really using and removing them. You're effectively creating a table of monthly totals for the relevant year, then applying an average to that.
    Rory

  3. #3
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    594

    Re: DAX average for Year

    True, it just seems odd.


    Thanks,

    rd

+ 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] Get average of all averages that are in the same year
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-15-2021, 02:28 AM
  2. Help with averageifs formula.
    By LorenzoCastroC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-02-2020, 12:44 PM
  3. [SOLVED] Average by year if data in the same year
    By Sarin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2018, 05:33 AM
  4. Calc average over the year
    By Davycc in forum Excel General
    Replies: 7
    Last Post: 12-20-2013, 07:34 AM
  5. Vertical Bar ( Year Average)
    By kuzna26 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-02-2013, 01:19 AM
  6. average for month, 1/4 year, year
    By miheec in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-10-2012, 06:34 PM
  7. [SOLVED] How to average data by year?
    By Ryleigh in forum Excel General
    Replies: 5
    Last Post: 07-11-2012, 11:00 AM

Tags for this Thread

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