Hi,
I have data for a number of team members showing the start time of visits they made to customers each day for the full year. These team members are divided into a number of teams.
I've been able to use the following DAX measure to find out the average start time for each team members, which can be used across each week of the year:
AvgStartTime = VAR Result = AVERAGEX ( VALUES ( 'TITO Data'[EntryDate] ), CALCULATE ( MIN ( 'TITO Data'[EntryTime]) ) ) RETURN IF ( NOT ( ISBLANK ( Result ) ), Result + TIME ( 0, 0, 0 ) )
This works out the earliest start for each day and takes an average.
This formula works fine when I have a table with each team member in a row but when I try to show what the average start time is across the entire team the results are not correct and I don't know why or how to fix it. Should I be trying to take an average of teh AvgStartTime measure or do I need to do something completely different?
Can anyone help?
mjholland