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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

What is wrong with my structure?

Hi there

 

I have a data structure consisting of a fact table and i've joined a general date dimension to that table via a full date.

I'm using import as the query method. 

I've used this structure heaps of times and was working on a similar structure earlier today, but when i created a new structure - my data is no longer returning properly. 

 

The dimension table results are not joining to the submitted date as expected and i only have a handful of date dimension results that are actually joining to the fact table. 

 

My date table is populated. Earliest date and Latest date are returning as below screenshot. 
Where have i gone wrong??

I've checked data times are "dates" for the join. 

and i've tried refreshing the source.

Full.PNGRelationship.PNGResult.PNG

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

From everything that I am seeing, it is your time component that is causing the problem, you should create another column that is only the Date component and join on that. the 12:00:00 AM entries join correctly because a Date value with no time component is a 0 for the decimal component, which means 12:00:00 AM.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

From everything that I am seeing, it is your time component that is causing the problem, you should create another column that is only the Date component and join on that. the 12:00:00 AM entries join correctly because a Date value with no time component is a 0 for the decimal component, which means 12:00:00 AM.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Big ups @Greg_Deckler

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.