cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Tejaswini_Dahat Frequent Visitor
Frequent Visitor

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. Smiley Happy
Capture.PNG

 

1 REPLY 1
doobie Regular Visitor
Regular Visitor

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

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

 

Date Difference =

CALCULATE(

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

)

 

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 6 members 1,181 guests
Please welcome our newest community members: