Average and mean for months / weeks values

  • Hi,

    Can someone please suggest a way to calculate average and mean for the values for different months or weeks in rows ? Thanks for your time.

  • Could you add a column group over the month?

  • Just to be sure, "average" and "mean" are the same thing.

    For averaging over months, a lot of people will design on of several types "floating" or "rolling" averages. In most cases that means that the point that contains the average will be the average of a limited and consistent number of months (for example). For example, the average for the current month (at month end) may include the values of just the previous 3 months and the current month.

    I don't know how to do such things in SSRS because I don't personally use SSRS.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply