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

Creating the first cube


Now that the first dimension of your database has been created, it is time to start creating a cube that has some values that you can slice by the dimension. In Analysis Services, a database can contain several cubes. A cube is a structure that contains the data that you want to analyze. The data that you want to analyze are defined as measures and belong to a measure group. Another object of a cube is the dimensions. A cube can contain several measure groups and the measure groups can use the same dimensions to allow a user to analyze data from different subject areas.

Creating the Fact Internet Sales cube

To create the Fact Internet Sales cube, perform the following steps:

  1. In the Solution Explorer window, right-click on the Cubes folder and select New Cube....

  2. Click on Next in the wizard and then choose Use existing tables and click on Next again.

  3. The measure group table that you want to use is the FactInternetSales table. Mark the checkbox and click on Next.

  4. Now it is...