Forum Discussion
SteveODea
Helper I
6 years agoCalculating Averages from Data Across Different Tables
I have a data structure which is causing me some problems in the calculating of a couple of measures... I have 2 fact tables: Applications with a Submitted Date Status Table with Offer & Accep...
- 6 years ago
Hi,
Please try this measure:
AverageDecisionTurnaround5Days = CALCULATE(AVERAGEX(FILTER(ALLSELECTED('Status'),'Status'[Status]="Offer" && 'Status'[StatusDate] >= MAX('Dates'[Date])-30 && 'Status'[StatusDate] < MAX(Dates[Date])),'Status'[Turnaround]))And it shows:
Hope this helps.
Best Regards,
Giotto Zhi
v-gizhi-msft
Community Support
6 years agoHi,
Please try this measure:
AverageDecisionTurnaround5Days = CALCULATE(AVERAGEX(FILTER(ALLSELECTED('Status'),'Status'[Status]="Offer" && 'Status'[StatusDate] >= MAX('Dates'[Date])-30 && 'Status'[StatusDate] < MAX(Dates[Date])),'Status'[Turnaround]))And it shows:
Hope this helps.
Best Regards,
Giotto Zhi