Forum Discussion
ArchStanton
4 years agoPower Participant
Calculate the time between dates on different rows
Hi, I'm struggling to create a calculated column that calculates DAYSDIFF between the 10th March and 17th March (please note: the start date is to the right of the actualend date) This ...
- 4 years ago
Are you free now? If so, how do we connect?
I will be logged on again tomorrow morning - is 0930 UK time any good for you? If not then I'm flexible on times, whenever suits you best
amitchandak
4 years agoSuper User
ArchStanton , Try a new column like
a new measure
averageX(values(Table[OwnerID]), calculate(Datediff( Min(Table[Actual End]) , Max(Table[Actual Start]), day) )
or
Sumx(values(Table[OwnerID]), calculate(Datediff( Min(Table[Actual End]) , Max(Table[Actual Start]), day) )
ArchStanton
4 years agoPower Participant
Thanks, can this be done only when the regardingobjectid are the same on consecutive rows ELSE its a straightforward DATEDIFF?