Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Difference in time between records in the same column

Hi all,   I had a question about a formula I wanted to create. I created a calculated column that shows the average time a object was at a certain point (TimeAtPoint) what I want to know is the tim...
  • Greg_Deckler's avatar
    9 years ago

    Perhaps use a measure that calculates the difference between the MIN and MAX of the column?

  • v-caliao-msft's avatar
    9 years ago

    Anonymous,

     

    Through slicing I want to know what the time is between for example A and B which would give 00:10:00 in this example.

    So you will select two items in your slicer? If that is the case, you can use the measure below.
    Difference = MAX(Table1[TimePoint])-MIN(Table1[TimePoint])

    Regards,

    Charlie Liao