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
Community Champion
6 years agoAnonymous
Create another DAX measure and add that in the tooltip.
LastDateValue=LASTDATE ( 'Calendar'[Date] )Then verify its value in both visuals. Maybe it is creating issue.
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂