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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Yuiitsu
Helper V
Helper V

Creating relationship between 2 date tables

Hi All

 

I have a date table that looks like this:

Yuiitsu_0-1679536462370.png

 

And I have another table that has a date column like this:

Yuiitsu_1-1679536555830.png

 

I believe the reason I am unable to create relationship between this 2 column is because the time behind is different.

Yuiitsu_2-1679536645231.png

 

Please advise how can I work around this? I am only looking at the dates here the time is not necessary. And my raw data by default will include the time behind

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, remove the time stamp into another column.  Now create a relationship between the Date column of the 2 tables.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, remove the time stamp into another column.  Now create a relationship between the Date column of the 2 tables.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Can you please advise how should I split it?

Yuiitsu_0-1679562052727.png

 

By delimiter > space.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
PhilipTreacy
Super User
Super User

Hi @Yuiitsu 

 

Your Date Table starts in 1992, when does it end?  You need the last date in the Date Table to be beyond any date in your data.  The last date should be the last date in the year i.e. 31-12-xx.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


My last date is 2099, 12,31 .

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Kudoed Authors