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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Machi6108
New Member

Long Date Not Recognizing Related Table Date

Long story short I have a table of data that includes a column with a date. I want to convert to fiscal dates, so created a table that has those dates, qurters, months correctly. Have a one to manny relathinship. 

 

However when I link them and use [realted, lookup, etc.] commands it comes up blanks. 

 

I'm guessing it is becuase the fiscal table stores dates as (11/23/2022 12:00:00 AM)

And my table has dates as (11/23/2022 5:35:21 AM) -> ie. more spcific with the time.

 

I've tried to convert to short date but that is more of a visual, so the basically the data table is not able to function as a primary key. 

 

Any tips? 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Machi6108 You could create a calculated column in your table like:

Date Midnight = DATE(YEAR([Date]),MONTH([Date]),DAY([Date]))


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Machi6108
New Member

This worked thank you! 

Greg_Deckler
Community Champion
Community Champion

@Machi6108 You could create a calculated column in your table like:

Date Midnight = DATE(YEAR([Date]),MONTH([Date]),DAY([Date]))


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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