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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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
AnthonyTilley
Solution Sage
Solution Sage

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]))




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

Proud to be a Super User!




View solution in original post

2 REPLIES 2
AnthonyTilley
Solution Sage
Solution Sage

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]))




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

Proud to be a Super User!




Anonymous
Not applicable

Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.