Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to add a "Date" dimension to my SSAS Cubes.
My table structure looks like this :

I have my metrics table ABC_Metrics that houses all the Measures. This table has a Date field since 2010
i.e. for each day since 2010-01-01 up to today i.e. 2015-11-13, I have around 900 rows.

I have a Fact table ABC_Master that houses all the master attributes such as County, Region, Market etc.

How do i go about adding the "Date" dimension. All I require is that the users to be able to drill down
the data to a particular date / day. I would not require the time dimension.

This might sound like a basic question, however this is my first attempt at creating SSAS Cubes so
any help would be much appreciated.
Posted

1 solution

Hello,

You will need to create a table for your date dimension. You can either create one yourself, or use SSAS wizard to create one for you. If your dates have fiscal mappings, or other logic unique to your enterprise, you would best create and populate the table yourself.

Once complete, add the table to your data source view. Once the table is in your data source view, you can create the new dimension, and link it to your fact table.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900