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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
BA11501Banderso
Frequent Visitor

Difference in time spanning 2 days

I have a column with "call received" that occurs near midnight 23:50 and an "on-site" column with a time of 0:24.  I'm trying to calculate the difference in minutes using a formula ("call received"-"on-site")*1440 but I'm getting a large negative number (-1,406).  How do I adjust the formula to cover responses that span two days?

 

Thank you!

1 ACCEPTED SOLUTION
ValtteriN
Super User
Super User

Hi,

Try using DATEDIFF function. E.g. 

DATEDIFF('Table'[c1],'Table'[c2],MINUTE)


I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
ValtteriN
Super User
Super User

Hi,

Try using DATEDIFF function. E.g. 

DATEDIFF('Table'[c1],'Table'[c2],MINUTE)


I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




The problem is the way the info gets populated into the table the date is the same for everything, but the time of day is different so using the datediff gives me the same number I was getting before.

 

Hi, @BA11501Banderso 

Can you share a sample data for further research?

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.