Viewing 6 posts - 31 through 36 (of 36 total)
Thanks all, it worked when I added the date value in the Date dimension table (the primary key table) first before trying to insert it into the Facts table. The...
June 16, 2012 at 5:15 pm
Evil Kraig F (6/15/2012)
dj1202 (6/15/2012)
There are duplicate dates (each correspond with a unique invoice number). Therefore, it will not let me assign. Any suggestions on how one should approach this?
I'd...
June 15, 2012 at 5:51 pm
I had tried to clean it up using the following code, but it is still returning duplicate Date values:
SELECT DimCalendar.DateID, DimCalendar.Quarter, DimCalendar.Year, DimCalendar.Month, DimCalendar.Week, DimCalendar.Day
FROM DimCalendar
RIGHT OUTER JOIN (SELECT DISTINCT(DateID)...
June 15, 2012 at 2:58 pm
PaulB-TheOneAndOnly (6/15/2012)
dj1202 (6/15/2012)
DateID (date)
Quarter
Year
Month
Week
Day
InvoiceNumber
There are duplicate dates in the DateID column, but I would like to assign...
June 15, 2012 at 2:35 pm
Thank you MysteryJimbo. I don't know why I assumed all dimensions should have a primary key. I went ahead and assigned the InvoiceNumber column as a foreign key that referenced...
June 15, 2012 at 1:59 pm
John Mitchell-245523 (4/26/2012)
Actually, I would urge you not to split the dates into their constituent parts. Store them in the database as datetime, and perform...
April 27, 2012 at 12:32 am
Viewing 6 posts - 31 through 36 (of 36 total)