Forum Discussion
Average Wait Time Per Day of Week
- Anonymous3 years ago
Hi PhineasT ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Week_Avg = AVERAGEX( FILTER(ALL('Table'), YEAR('Table'[Date])=YEAR(MAX('Table'[Date]))&& 'Table'[Week]=MAX('Table'[Week]) &&'Table'[WeekDay]=1),[Amount])Month_Avg = AVERAGEX( FILTER(ALL('Table'), YEAR('Table'[Date])=YEAR(MAX('Table'[Date]))&& MONTH('Table'[Date])= MONTH(MAX('Table'[Date])) &&'Table'[WeekDay]=1),[Amount])Qu_Avg = AVERAGEX( FILTER(ALL('Table'), YEAR('Table'[Date])=YEAR(MAX('Table'[Date]))&&QUARTER('Table'[Date])=QUARTER(MAX('Table'[Date]))&&'Table'[WeekDay]=1),[Amount])2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi PhineasT ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Week_Avg =
AVERAGEX(
FILTER(ALL('Table'),
YEAR('Table'[Date])=YEAR(MAX('Table'[Date]))&&
'Table'[Week]=MAX('Table'[Week])
&&'Table'[WeekDay]=1),[Amount])Month_Avg =
AVERAGEX(
FILTER(ALL('Table'),
YEAR('Table'[Date])=YEAR(MAX('Table'[Date]))&&
MONTH('Table'[Date])=
MONTH(MAX('Table'[Date]))
&&'Table'[WeekDay]=1),[Amount])Qu_Avg =
AVERAGEX(
FILTER(ALL('Table'), YEAR('Table'[Date])=YEAR(MAX('Table'[Date]))&&QUARTER('Table'[Date])=QUARTER(MAX('Table'[Date]))&&'Table'[WeekDay]=1),[Amount])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you for the energy towards this effort.
The unique output desired is a slicer-type that provide the following output in a different 'Cards' -
1. 'average wait time per hour' stat across a given day.
2. 'average wait time during a chosen week, showing the date and hour time when the 'wait time' was
lowest.
Is this possible?