Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Progressive Average

Hi, I would like to reproduce this table, made in excel, in DAX.   ID DATE_PERIOD MP_PLAN_DELTA Average 1 27.10.19 3 =AVERAGE(C2;C4;C6) 2 27.10.19 5 =AVERAGE(C3;C5;C7) 1 28.1...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi,
    Thank you for your answer. The problem I am facing is to do the spread over the three months.
    Now I'm trying to use this formula:

    MM - ManMonths (Media - I Round)_MM = CALCULATE(AVERAGE(MM[MP_PLAN_DELTA_MM]);DATESINPERIOD(MM[DATE_PERIOD].[Date];MM[DATE_PERIOD]; 2;MONTH))

    It seems to be fine in the total picture. As soon as I try to use some filters, it no longer makes sense.
    Can I send you the file so you can actually see what my problem is?


    Dom