Forum Discussion

Gingerjeans88's avatar
Gingerjeans88
Helper IV
6 years ago

Calendar Table Issues - all visuals blank

Please help, I am SO lost. I have managed to get by without a calendr table thus far, but I need to do some time intelligence functions for a custom fiscal year period which necessitates having one. 

I have therefore created one with a date key, all the relevant fiscal columns, and related it to my main fact table by the Date Submitted column. All the visuals I had done previously using the dates in the fact table are now showing blank or cannot be displayed. 

 

My questions are these:

1. Once I introduce a calendar table, do I need to go back and replace the dates in ALL existing visuals to use Calendar Table dates instead of date columns from the fact table, or can I chop and change?

2. Is it because I have set the date type of both to date/time (because I need the time) and I don't have a row for every single 'time' in my calendar table, therefore it can't match with the dates in my fact table? Ie. for 29th April I will have in the calendar 29/04/2020 00:00, but some of my records in the fact table might have Date Submitted of 29/04/2020 14:35

3. If I can't get this to work, how else can I do YTD calculations for a custom year without needing a calendar table?! What I need is so simple but this issue is making it so complex! I just need this year YTD count of applications submitted (year is 31/08 - 30/08), and last year ytd count of applications submitted for comparison. 

 

Help please!! parry2k are you able to help?!

4 Replies