Book Image

Getting Started with SQL Server 2012 Cube Development

Book Image

Getting Started with SQL Server 2012 Cube Development

Overview of this book

Analysis Services have been the number one OLAP engine for years. With the increased focus on business intelligence solutions, there is a shortage of professionals in this area. Start your journey into becoming a BI developer using the popular tools included in every SQL Server installation. Getting Started with SQL Server 2012 Cube Development teaches you through clear step-by-step exercises to create business intelligence solutions using Analysis Services. The knowledge gained through these practical examples can immediately be applied to your real-world problems. Getting Started with SQL Server 2012 Cube Development begins with an introduction to business intelligence and Analysis Services, the world's most-used cube engine. Guiding you through easy-to-understand examples to become a cube developer. Learn how to create a cube including all the advanced features such as KPIs, calculated measures, and time intelligence. Security and performance tuning will also be explored. You will learn how to perform and automate core tasks like deployment and processing. The main focus is on multidimensional cubes, but the creation of in-memory models will also be covered. You will learn everything you need to get started with cube development using SQL Server 2012.
Table of Contents (17 chapters)
Getting Started with SQL Server 2012 Cube Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding dimensions to the FirstCube project


A dimension in Analysis Services is a group of characteristics that describes a fact row. Previously, when working with the FirstCube project in this book, you have worked with dimensions such as date and product. These have all been dimensions with a direct relationship to the fact table. However, several other types of dimensions can be used in Analysis Services. In this chapter, we will add dimensions of different kinds to the cube.

Adding referenced dimensions

Sometimes, you do not have a direct relationship between the fact table and a dimension. An example of this is the Geography dimension. There is no GeographyKey column in the FactResellerSales table, instead, this column exists in the DimReseller table. Analysis Services solves this using something called a referenced dimension. To create a referenced dimension, perform the following steps:

  1. Right-click on the Dimension folder in the Solution Explorer and choose to add a new dimension.

  2. Select...