cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cloud11
Post Patron
Post Patron

Calculating difference between 2 date time columns

 

I have two columns in my table column A time report logged and column B time report sent. Both column are of the format.

11/01/2021 09:22:32am 

 

I want to be able to be able to work our the time take from report created to sent in a 3rd column

 

See sample date

 

https://www.dropbox.com/s/pwb1clof20s3q1i/Time_.pbix?dl=0 

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@Cloud11 ,

Create a new column in Dax

 

column c =[column B] -[column A]

 

or

 

column C = datediff([column A],[column B], Minute)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@Cloud11 ,

Create a new column in Dax

 

column c =[column B] -[column A]

 

or

 

column C = datediff([column A],[column B], Minute)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors