Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Monthly average without accumulated

I would like to calculate the average of the monthly data obtained from some daily data. I don't want the daily accumulated data to be displayed, but to obtain the monthly average of all the data. ...
  • amitchandak's avatar
    4 years ago

    Anonymous , Try like

     

    Avg Sales = CALCULATE(Averagex(Values('Date'[Date]) , calculate(SUM(Sales[Sales Amount]))) ,DATESMTD('Date'[Date]))

  • Anonymous's avatar
    Anonymous
    4 years ago

    I have solved it by changing the dates of the month that was giving me problems.