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
mertsch
10 years agoFrequent Visitor
edit: sorry i explane it wrong....
what i need is:
the final average:
01/2016 = Sum 160
02/2016 = Sum 120
average: 140
Greg_Deckler
Community Champion
10 years agoTry creating a calculated column like:
Month = MONTH([Date])
Then add your Average measure and Month to a table.