Forum Discussion
Anonymous
6 years agoNot applicable
AVERAGEX Problems
Hello all, I am pulling my hair out with an AVERAGEX formula Water TRIFR 12MMA = AVERAGEX( DATESINPERIOD ( 'Calendar'[Date], LASTDATE ( 'Calendar'[Date] ), -12, MONTH ), [Water TRIFR] ...
- 6 years ago
Anonymous
Try this
Water TRIFR 12MMA = VAR monthrange = 12 VAR result = DIVIDE ( SUMX ( DATESINPERIOD ( 'Calendar'[Date], LASTDATE ( 'Calendar'[Date] ), -1 * monthrange, MONTH ), [Water TRIFR] ), monthrange, BLANK () ) RETURN result
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
nandukrishnavs
6 years agoCommunity Champion
Anonymous Understood. If you can replicate 20 rows with masked data would be enough.
Anonymous
6 years agoNot applicable
How do I attach an xls file? there is no options?
I created a table and pasted the data but it re-arranged all the cells?