O'Reilly logo

Microsoft SQL Server 2012 Bible by Aaron Nelson, Jose Chinchilla, Patrick LeBlanc, Jorge Segarra, Adam Jorgensen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dimensions

Dimensions are categories used to summarize the data of interest. Dimensions created by a wizard generally prove to be good first drafts but need refinement.

c44uf001 Chapter 51 presents background on Business Intelligence and data warehousing concepts.

Creating a Dimension

Dimensions contain attributes, which are the way data in the cube will be sliced. For instance, a cube may contain a measure group of sales that stores the product sold, the sale amount, and the date of the sale. A user may want to see sales totals by year and would slice the data by calendar year, an attribute or characteristic of the date dimension.

In addition to storing attributes, a dimension must have exactly one key column. The key column denotes how to uniquely identify each record. A date dimension may have quarters, months, and years, but the data key uniquely identifies each record. In this case the date key could be the concatenation of month, day, and year.

If you do not create dimensions during the Cube Wizard process, you can manually create them independent of the cube. Before creating additional dimensions, be sure to add the tables required to build the dimension to the data source view. When all the required tables are in the DSV, right-click the Dimensions folder in the Solution Explorer, and select New Dimension to launch the Dimension Wizard.

  • Select Creation Method: Click next to go past ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required