I have done formulas to calculate length of time between 2 dates before.
However I am now trying to calculate how much time has passed between the same TIMESTAMP question between the first and last entry of that question, so I am trying to create a column that measures the time from the last row to the first row of the same column, is that possible?
Thanks a lot!!!
Solved! Go to Solution.
You are probably looking forโฆ
MAX(Weighted[Time Stamp]) - MIN(SELECT(Weighted[Time Stamp],[Project #]=[_THISROW].[Project #]))
Like this?
(MAX(table[Time Stamp]) - MIN(table[Time Stamp]))
(replacing table
with the name of the table)
Thanks @Steve
It worked like a charm. Butโฆ
See attachment. At the top you will see my formula. I added the THISROW part because because I want that calculated for each โPROJECT #โ.
But it is giving me the same result for both projects, โ11:55:21โ.
What would you say I am missing on the second part of the expression?
Thank you so much!
I saw that I was missing the last , but stillโฆ See attachment:
You are probably looking forโฆ
MAX(Weighted[Time Stamp]) - MIN(SELECT(Weighted[Time Stamp],[Project #]=[_THISROW].[Project #]))
User | Count |
---|---|
41 | |
28 | |
24 | |
24 | |
13 |