Reputation: 519
for every id, I am trying to get the minimum date of the next indicator next to the previous indicator. it is similar to lead in sql. the wished result is in the column target.
Upvotes: 0
Views: 381
Reputation: 1770
@OUMOUSS_ELMEHDI - Below OVER function should give you the desired result.
Min([Timestamp]) OVER (Intersect(Next([Indicator]),[ID]))
Here is the final result table:
Upvotes: 1