Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

calculating duration between two cells based on matching criteria

Bit of a complex one...   I have a time/date column called [Date Created] and a [Username] column, I want to calculate the duration between the first and next times - when the [Username] is the sam...
  • ryan_mayu's avatar
    ryan_mayu
    4 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])