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

Find the same time with different dates

Hi,

 

In the below file, I'm trying to find when two times match when they have different dates. I have tried to separate the times from the dates as you can see below (Actual Cut Off Time and Cut Off Time are formatted as just Time) and done an If formula for seeing when these match, but as you can see on the fifth row this isn't working. I'm assuming it's because dates are still attached in the background - can I separate them?

 

Capture.JPG

 

Thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
AnthonyTilley Established Member
Established Member

Re: Find the same time with different dates

just extract the time as a calculated colunm

 

you will get a datetime colunm where the date is always the 31/12/1899 followed by the time 

this can tehn be formated to time only and will calculate correctly 

 

time = time(hour('Table'[DATETIME]),MINUTE('Table'[DATETIME]),SECOND('Table'[DATETIME]))

View solution in original post

2 REPLIES 2
AnthonyTilley Established Member
Established Member

Re: Find the same time with different dates

just extract the time as a calculated colunm

 

you will get a datetime colunm where the date is always the 31/12/1899 followed by the time 

this can tehn be formated to time only and will calculate correctly 

 

time = time(hour('Table'[DATETIME]),MINUTE('Table'[DATETIME]),SECOND('Table'[DATETIME]))

View solution in original post

Welsh_Will Frequent Visitor
Frequent Visitor

Re: Find the same time with different dates

Thank you!

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 306 members 2,930 guests
Please welcome our newest community members: