Forum Discussion
How to get a 12-month rolling average
- 3 years ago
Anonymous , You need to try like
You should always use date table for time intelligence
CALCULATE(
AVERAGEX(values(Date[Month year]) ,calculate( Sum(table[goal_reached])) ),
DATESINPERIOD(Date[Date], LASTDATE(Date[month]), -12, MONTH) )or
CALCULATE(
AVERAGEX(values(Date[Month year]) ,calculate( AVERAGE(table[goal_reached])) ),
DATESINPERIOD(Date[Date], LASTDATE(Date[month]), -12, MONTH) )Rolling Months Formula: https://youtu.be/GS5O4G81fww
Anonymous , You need to try like
You should always use date table for time intelligence
CALCULATE(
AVERAGEX(values(Date[Month year]) ,calculate( Sum(table[goal_reached])) ),
DATESINPERIOD(Date[Date], LASTDATE(Date[month]), -12, MONTH) )
or
CALCULATE(
AVERAGEX(values(Date[Month year]) ,calculate( AVERAGE(table[goal_reached])) ),
DATESINPERIOD(Date[Date], LASTDATE(Date[month]), -12, MONTH) )
Rolling Months Formula: https://youtu.be/GS5O4G81fww
How we should calculate 12 month rolling average if my column values in alphanumeric