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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
longishrope
New Member

Date relationships not working

I have a table that contains Date values, I have also generated a separate Calendar table to make reporting better but I cant seem to join the two tables.

 

I've tried different date formats but it doesn't seem to work. I'm stuck.

 

Capture1.JPG

1 ACCEPTED SOLUTION

The two columns need to be the same data type. It looks like it's Date in one table and DateTime in the other.





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

Proud to be a Super User!




View solution in original post

5 REPLIES 5
KHorseman
Community Champion
Community Champion

The Calendar table in your screenshot appears to be blank.





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

Proud to be a Super User!




That's the problem. The Calendar table isn't actually blank. But when I try to make a relationship it appears to be.

Capture2.JPG

@longishrope what happens if you go to the relationships tab and just create the relationsship by draggin Date from your fact table to the Date field in your Calendar table?

/sdjensen

@sdjensen

I get the same result as my initial post

Capture3.JPG

The two columns need to be the same data type. It looks like it's Date in one table and DateTime in the other.





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

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.