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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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