Tabular Modeling (Adventure Works Tutorial)

Tabular Modeling (Adventure Works Tutorial)

 

Updated: May 6, 2016

Applies To: SQL Server 2016

This tutorial provides lessons on how to create a SQL Server 2016 Analysis Services tabular model by using SQL Server Data Tools (SSDT).

During the course of this tutorial, you will learn the following:

  • How to create a new tabular model project in SQL Server Data Tools.

  • How to import data from a SQL Server relational database into a tabular model project.

  • How to create and manage relationships between tables in the model.

  • How to create and manage calculations, measures, and Key Performance Indicators that help users analyze model data.

  • How to create and manage perspectives and hierarchies that help users more easily browse model data by providing business and application specific viewpoints.

  • How to create partitions that divide table data into smaller logical parts that can be processed independent from other partitions.

  • How to secure model objects and data by creating roles with user members.

  • How to deploy a tabular model to a sandbox or production instance of Analysis Services running in Tabular mode.

This tutorial is based on Adventure Works Cycles, a fictitious company. Adventure Works Cycles is a large, multinational manufacturing company that produces and distributes metal and composite bicycles to commercial markets in North America, Europe, and Asia. The headquarters for Adventure Works Cycles is in Bothell, Washington, where the company employs 500 workers. Additionally, Adventure Works Cycles employs several regional sales teams throughout its market base.

To better support the data analysis needs of sales and marketing teams and of senior management, you are tasked with creating a tabular model for users to analyze internet sales data in the AdventureWorksDW sample database.

In order to complete the tutorial, and the Adventure Works Internet Sales tabular model, you must complete a number of lessons. Within each lesson are a number of tasks; completing each task in order is necessary for completing the lesson. While in a particular lesson there may be several tasks that accomplish a similar outcome; however, how you complete each task is slightly different. This is to show that there is often more than one way to complete a particular task, and to challenge you by using skills you learned in previous tasks.

The purpose of the lessons is to guide you through authoring a basic tabular model running in In-Memory mode by using many of the features included in SQL Server Data Tools. Because each lesson builds upon the previous lesson, you should complete the lessons in order. Once you have completed all of the lessons, you will have authored and deployed the Adventure Works Internet Sales sample tabular model on an Analysis Services server.

This tutorial does not provide lessons or information about managing a deployed tabular model database by using SQL Server Management Studio, or using a reporting client application to connect to a deployed model to browse model data.

In order to complete this tutorial, you must have the following prerequisites installed:

  • SQL Server 2016 Analysis Services instance running in Tabular mode.

  • SQL Server Data Tools (SSDT). Get the latest version.

  • Adventure Works DW 2014 sample database. This sample database includes the data necessary to complete this tutorial. To download the sample database, go to http://go.microsoft.com/fwlink/?LinkID=335807.

  • Microsoft Excel 2003 or later (for use with the Analyze in Excel feature in lesson 11).

This tutorial includes the following lessons:

LessonEstimated time to complete
Lesson 1: Create a New Tabular Model Project10 minutes
Lesson 2: Add Data20 minutes
Lesson 3: Rename Columns20 minutes
Lesson 4: Mark as Date Table3 minutes
Lesson 5: Create Relationships10 minutes
Lesson 6: Create Calculated Columns15 minutes
Lesson 7: Create Measures30 minutes
Lesson 8: Create Key Performance Indicators15 minutes
Lesson 9: Create Perspectives5 minutes
Lesson 10: Create Hierarchies20 minutes
Lesson 11: Create Partitions15 minutes
Lesson 12: Create Roles15 minutes
Lesson 13: Analyze in Excel20 minutes
Lesson 14: Deploy5 minutes

This tutorial also includes Supplemental Lessons. Topics in this section are not required to complete the tutorial, but can be helpful in better understanding advanced tabular model authoring features.

LessonEstimated time to complete
Implement Dynamic Security by Using Row Filters30 minutes
Configure Reporting Properties for Power View Reports30 minutes

To begin the tutorial, continue to the first lesson: Lesson 1: Create a New Tabular Model Project.

Community Additions

ADD
Show:
© 2016 Microsoft