DAX Calculate time value row by row based on condition from two different columns
I am relatively new to power bi. I tried to solve via reading posts in here but could not come up with solution.
So here it is, I want to calculate time values for each step in my experiments seperately. I have experiment ID, step number in this experiment, duration of that step. I want to calculate when this step started (for example first step always started at t=0) when it is ended and what was the timestamp (actual time) at that time.