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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

how to get time difference between two time columns from two different tables with a relationship

Hi all,

 

I have two tables which contains two time fields, i need to get the time duration between two time fields, two tables contains relationship between them using IncidentId. How to create column/measure for this? Please find below images for refrence. Thanks in Advance.

 

 

Capture2.PNGCapture1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 REPLY 1
az38
Community Champion
Community Champion

Hi @Anonymous 

how do you plan to deal with time from different days? for example date A = 22 March 23:59:59, date B = 23 March, 01:00:00 ?

If it doesn't matter, create a simple column

Date = Table2[ClosedTime] - Table1[SubmitTime]

and then set DateType as Time in Modeling ribbon


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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