Forum Discussion

Tejaswini_Dahat's avatar
7 years ago

Calculate difference in days between two dates in same column with measure/calculated column

 Hello all,

 I am trying to calculate the difference between two dates that are associated with one application. Every application undergoes through different stages (it can be repetitive so it should consider only the latest date on that case).

I want to calculate the days taken between two stages during the transition (such as days taken to move from stage 3 to stage 4, 4 to 5 and so on). The transition of stages follow a particular order from 3 to 9.

In the below screenshot, I tried to calculate the difference in days but it's not giving the result that I am expecting. Your help is appreciated thanks. :)

 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Could you subtract the date from today giving you a rolling count? 

     

    Date Difference =

    CALCULATE(

          DATEDIFF(WorkFlow[Date], TODAY(), DAY

    )