Thursday, September 04, 2014

SSAS Tutorial : Defining a Dimension

  1. In Solution Explorer (on the right side of Microsoft Visual Studio), right-click Dimensions, and then click New Dimension. The Dimension Wizard appears.
  2. On the Welcome to the Dimension Wizard page, click Next.
  3. On the Select Creation Method page, verify that the Use an existing table option is selected, and then click Next.
  4. On the Specify Source Information page, verify that the Adventure Works DW 2012data source view is selected.
  5. In the Main table list, select Date.
  6. Click Next.
  7. On the Select Dimension Attributes page, select the check boxes next to the following attributes:  o    Date Key o    Full Date Alternate Key o    English Month Name o    Calendar Quarter o    Calendar Year  o    Calendar Semester
  8. Change the setting of the Full Date Alternate Key attribute's Attribute Type column from Regular to Date. To do this, click Regular in the Attribute Type column. Then click the arrow to expand the options. Next, click Date > Calendar > Date. ClickOK. Repeat these steps to change the attribute type of the attributes as follows:
o    English Month Name to Month
o    Calendar Quarter to Quarter
o    Calendar Year to Year
o    Calendar Semester to Half Year

Click Next.ssas 

On the Completing the Wizard page, in the Preview pane, you can see the Date dimension and its attributes.
Click Finish to complete the wizard.
In Solution Explorer, in the Analysis Services Tutorial project, the Date dimension appears in the Dimensions folder. In the center of the development environment, Dimension Designer displays the Date dimension.
On the File menu, click Save All.

BACK TO SSAS TUTORIAL

No comments:

Post a Comment