Forum Discussion
mertsch
10 years agoFrequent Visitor
Calculate an average from a Sum by Month
Hi Guys, I want the average from a time Period. In one Table i have 2 Rows like this: Date: Values: 01.01.2016 100 01.01.2016 50 01.01.20...
- 10 years ago
Hi Mertsch,
I have tested it on my local environment, you can add calculated column to display the month name using the DAX below
Month = MONTH(MonthAverage[Date])And then create a measure
MeasureAverage = SUM(MonthAverage[Total])/DISTINCTCOUNT(MonthAverage[Month])Regards,
Charlie Liao
v-caliao-msft
Microsoft Employee
10 years agoHi Mertsch,
I have tested it on my local environment, you can add calculated column to display the month name using the DAX below
Month = MONTH(MonthAverage[Date])
And then create a measure
MeasureAverage = SUM(MonthAverage[Total])/DISTINCTCOUNT(MonthAverage[Month])
Regards,
Charlie Liao
mertsch
10 years agoFrequent Visitor
Thats what im looking for !
Thanks a lot !