I am building a cube using MS Analysis Services from MS SQL Server. I have a table with fields: SalesmanID, CustomerID, ProductID, DeliveryDate and SalesQuantity. And I am using this table directly as a fact table. My question is how I can create Time dimension? Can I just create a view from the same table like:
Select DeliveryDate,
Year(DeliveryDate) as Year,
Month(DeliveryDate) as Month,
Week(DeliveryDate) as Week
from MyTable
and link to fact table by DeliveryDate field and use that view as Time dimension? Please Help!!!
Select DeliveryDate,
Year(DeliveryDate) as Year,
Month(DeliveryDate) as Month,
Week(DeliveryDate) as Week
from MyTable
and link to fact table by DeliveryDate field and use that view as Time dimension? Please Help!!!