Forum Discussion
Anonymous
8 years agoNot applicable
Previous Quarter Calculation
How can I write Dax that will give me the average of Quarter 1's numbers below?: It's tricky because when using the AVERAGE function, I'm not allowed to select my [Retention] measure for ...
- 8 years ago
Try AVERAGEX, something like:
Measure = AVERAGEX(FILTER('Table',[Year]=2018 && [Quarter]="Qtr 1"),[Retention])
Greg_Deckler
8 years agoCommunity Champion
Try AVERAGEX, something like:
Measure = AVERAGEX(FILTER('Table',[Year]=2018 && [Quarter]="Qtr 1"),[Retention])- Anonymous8 years agoNot applicable
Greg_Deckler Would this work the same if the dates I'm referencing are from a different table? The date columns come from a Date table while the retention comes from my fact table. Sorry, forgot to clarify that part.