Forum Discussion
calculating duration between two cells based on matching criteria
- 5 years ago
Anonymous
is this what you want?
New Start Time = MINX(FILTER('Table','Table'[Username ]=EARLIER('Table'[Username ])&&'Table'[ Weekday ]=EARLIER('Table'[ Weekday ])&&'Table'[Date Created]>EARLIER('Table'[Date Created])),'Table'[Date Created])
Anonymous
could you pls provide some sample data and expected output?
- Anonymous5 years agoNot applicable
The expected result would look something like the below. But what's happening at the moment is inconsistent where the blanks are or should be.
Date Created Username Weekday Index New Start Time
03/01/2020 09:49:26 Abs 6 1 03/01/2020 10:07:05
03/01/2020 10:07:05 Abs 6 2 03/01/2020 10:35:22
03/01/2020 10:35:22 Abs 6 3
03/01/2020 16:10:51 Tod 6 4 03/01/2020 16:16:47
03/01/2020 16:16:47 Tod 6 5
06/01/2020 09:50:30 Tod 2 6 06/01/2020 10:16:23
06/01/2020 10:16:23 Tod 2 7 06/01/2020 10:27:15
06/01/2020 10:27:15 Tod 2 8
06/01/2020 10:37:13 Del 2 9 06/01/2020 10:58:21
06/01/2020 10:58:21 Del 2 10
- ryan_mayu5 years ago
Super User
Anonymous
is this what you want?
New Start Time = MINX(FILTER('Table','Table'[Username ]=EARLIER('Table'[Username ])&&'Table'[ Weekday ]=EARLIER('Table'[ Weekday ])&&'Table'[Date Created]>EARLIER('Table'[Date Created])),'Table'[Date Created])