Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

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. 🙂
Capture.PNG

 

1 REPLY 1
Anonymous
Not applicable

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

 

Date Difference =

CALCULATE(

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

)

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors