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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
tkirui
Regular Visitor

Build relationship between two tables with Times that are bnot exact but close

I have two tables that i need to build a relationship. They both have a timestamp that I want to use to match the data. The problem is that the timestamps are not exact and my be off by a few seconds,. Eg 8.32.50 and 8.32.45.  I could use the hh.mm (change date time to integer)to match the data as but the problem arise in a situation where e.g the times are 8.32.58 and 8.33.067

 

I am scratching my head with this one. What are my options?

1 ACCEPTED SOLUTION
tkirui
Regular Visitor

Thanks a lot. I have created a time table and also a seperate date table and created a relationship with my data off these tables

View solution in original post

2 REPLIES 2
tkirui
Regular Visitor

Thanks a lot. I have created a time table and also a seperate date table and created a relationship with my data off these tables

MFelix
Super User
Super User

HI @tkirui ,

 

I believe that the best option is to create a time table based on hours minutes and also change the format on the other two tables to hour minutes and then make the relationship based on that new table.

 

Be aware that without knowing the full extend of the model this relationship may need further tables to add context like dates or something similar.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.