How to handle date field with a null value in the fact table ?
2 posters
Page 1 of 1
How to handle date field with a null value in the fact table ?
I am developing a solution for the analysis of invoices.
My fact table is structured like this:
fact_invoice
----------------
SupplierKey
CustomerKey
.
. (other fields)
.
Price
EmissaoDatekey
CancelDateKey
My question is about how to treat the field CancelDateKey that also has null values.
My fact table is structured like this:
fact_invoice
----------------
SupplierKey
CustomerKey
.
. (other fields)
.
Price
EmissaoDatekey
CancelDateKey
My question is about how to treat the field CancelDateKey that also has null values.
esreis- Posts : 3
Join date : 2013-04-29
Re: How to handle date field with a null value in the fact table ?
Treat it the same way as you would any other dimension, set to the default row value.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Similar topics
» Factless fact table with null foreign keys
» Adding a fact table with start date and end date to a (SSAS) multidimensional cube
» Duplicating a field in more than one fact table.
» NULL Values in Fact Table
» Actual Date vs Date Key in Fact table
» Adding a fact table with start date and end date to a (SSAS) multidimensional cube
» Duplicating a field in more than one fact table.
» NULL Values in Fact Table
» Actual Date vs Date Key in Fact table
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum