Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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.

 

  • 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.

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    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.