Presentation is loading. Please wait.

Presentation is loading. Please wait.

Module 12: Implementing an Analysis Services Tabular Data Model

Similar presentations


Presentation on theme: "Module 12: Implementing an Analysis Services Tabular Data Model"— Presentation transcript:

1 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Module 12: Implementing an Analysis Services Tabular Data Model Module 12 Implementing an Analysis Services Tabular Data Model

2 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Module Overview Module 12: Implementing an Analysis Services Tabular Data Model Introduction to Analysis Services Tabular Data Model Projects Developing an Analysis Services Tabular Data Model in SQL Server Data Tools

3 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Lesson 1: Introduction to Analysis Services Tabular Data Model Projects Module 12: Implementing an Analysis Services Tabular Data Model What is an Analysis Services Tabular Data Model? Options for Creating an Analysis Services Tabular Data Model Project Using SQL Server Data Tools to Develop an Analysis Services Tabular Data Model The Workspace Database

4 What Is an Analysis Services Tabular Data Model?
Course 10778A What Is an Analysis Services Tabular Data Model? Module 12: Implementing an Analysis Services Tabular Data Model A Database on an instance of Analysis Services installed in Tabular mode. Uses the high-performance xVelocity engine Supports client applications including Power View and Excel More features than a Tabular Data Model in a PowerPivot workbook, including: Partitions Row-level security DirectQuery mode Enables IT professionals with knowledge of relational models to develop Analysis Services solutions .

5 Options for Creating an Analysis Services Tabular Data Model Project
Course 10778A Options for Creating an Analysis Services Tabular Data Model Project Module 12: Implementing an Analysis Services Tabular Data Model SQL Server Data Tools Templates: Analysis Services Tabular Project Import from PowerPivot Import from Server (Tabular) SQL Server Management Studio Restore from PowerPivot

6 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Using SQL Server Data Tools to Develop an Analysis Services Tabular Data Model Module 12: Implementing an Analysis Services Tabular Data Model Single development environment for BI developers: Templates to create projects Integrated project life-cycle management and source control Debugging tools Build and deploy directly to test and production servers Similar to the PowerPivot workbook development environment Data view and Diagram view Measure Grid Table Import Wizard automatically creates metadata structures to support model – no need to create data source views, dimensions, or cubes

7 The Workspace Database
Course 10778A The Workspace Database Module 12: Implementing an Analysis Services Tabular Data Model Creating a Tabular Data Model project automatically creates a workspace database for that project Contains all of the objects that you import and create in the project Configure retention and host server properties in SQL Server Data Tools SQL Server Data Tools SQL Server Management Studio

8 Demonstration: Creating a Tabular Data Model Project
Course 10778A Demonstration: Creating a Tabular Data Model Project Module 12: Implementing an Analysis Services Tabular Data Model In this demonstration, you will see how to: Create a tabular data model project Configure a connection in a tabular data model project Edit a model in SQL Server Data Tools Task 1: Create a tabular data model project Ensure that the MIA-DC1 and MIA-SQLBI virtual machines are both running, and then log on to MIA- SQLBI as ADVENTUREWORKS\Student with the password Pa$$w0rd. Then in the D:\10778A\Demofiles\Mod12 folder, run Setup.cmd as Administrator. Click Start, click All Programs, click Microsoft SQL Server 2012, and then click SQL Server SQL Server Data Tools. On the Start Page tab, click New Project. In the New Project dialog box, in the Installed Templates pane, expand Business Intelligence, click Analysis Services, and then click Import from PowerPivot. In the Name box, type Sales, and then click Browse Click Browse, navigate to the D:\10778A\Demofiles\Mod12 folder, and then click Select Folder. In the New Project dialog box, click OK. If the Workspace and Deployment Server Configuration dialog box is displayed, in the Default Server list, select localhost\SQL2, and then click OK (this dialog box is only displayed the first time you create a tabular model project). In the Open dialog box, navigate to the D:\10778A\Demofiles\Mod12 folder, click Sales, and then click Open. If a message notifies you that data cannot be imported, click yes to import the metadata. Wait until the creation of the Sales project completes. Note that the data model in the project includes a tab for each table in the model. On the Tools menu, click Options, and in the Options dialog box, expand Analysis Services and click Data Modeling. Note the name of the default workspace server used to host the data model during development. Then click Cancel. Task 2: Configure a connection in a tabular data model project On the Model menu, click Existing Connections, and then in the Existing Connections dialog box, with the SqlServer MIA-SQLBI AdventureWorksDW connection selected, click Edit. In the Edit Connection dialog box, click Impersonation. Then select Specific Windows user name and password, enter ADVENTUREWORKS\ServiceAcct and Pa$$w0rd, and click OK. In the Edit Connection dialog box, click Save. Then in the Existing Connections dialog box, with the SqlServer MIA-SQLBI AdventureWorksDW connection selected, click Process to import the data. When processing is complete, in the Data Processing dialog box click Close, and then in the Existing Connections dialog box, Close. The model is now populated with data.

9 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Lesson 2: Developing an Analysis Services Tabular Data Model in SQL Server Data Tools Module 12: Implementing an Analysis Services Tabular Data Model Perspectives Partitions DirectQuery Mode Tabular Data Model Security Deploying a Tabular Data Model

10 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Perspectives Module 12: Implementing an Analysis Services Tabular Data Model Provide a simplified view of complex data models Select field objects to include in perspective Tables Columns Measures Not a method of implementing security

11 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Partitions Module 12: Implementing an Analysis Services Tabular Data Model Divide tables into logical partitions Separate frequently changing data from static data Create partitions in workspace databases and in deployed databases Process partitions or tables independently to minimize processing workload Options for processing data: Process default Process full Process data Process clear Process add

12 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A DirectQuery Mode Module 12: Implementing an Analysis Services Tabular Data Model Bypass xVelocity in-memory storage Retrieve data directly from a relational database Take advantage of powerful server hardware Appropriate for very large data sets Tabular Data Model Data Warehouse

13 Tabular Data Model Security
Course 10778A Tabular Data Model Security Module 12: Implementing an Analysis Services Tabular Data Model Create roles to group users according to security requirements Apply database-level permissions to roles: Read Read and Refresh Refresh Administrator None Use DAX to create filters that define row-level security Region[Country]="France"

14 Deploying a Tabular Data Model
Course 10778A Deploying a Tabular Data Model Module 12: Implementing an Analysis Services Tabular Data Model Deploy Tabular Data Models to an Analysis Services server to enable users to connect to them and browse data Deployment copies the objects in the workspace database to a new database Deployment Server properties Server Edition Database Cube name Deployment Options properties Processing Transactional Deployment Query Mode Impersonation Settings

15 Demonstration: Deploying a Tabular Data Model
Course 10778A Demonstration: Deploying a Tabular Data Model Module 12: Implementing an Analysis Services Tabular Data Model In this demonstration, you will see how to: Deploy a Tabular Data Model Project Add the BI Semantic Model Connection content type Create a BI Semantic Model connection Task 1: Deploy a Tabular Data Model Project Ensure that you have completed the previous demonstration in this module, and maximize SQL Server Data Tools with the Sales project open. On the Build menu, click Deploy Sales. If prompted, enter the user name ADVENTUREWORKS\ServiceAcct and the password Pa$$w0rd and click OK. In the Deploy dialog box, when deployment is complete, click Close. Then close SQL Server Data Tools. Task 2: Add the BI Semantic Model Connection content type Start Internet Explorer and browse to the SharePoint site at Then on the Home page, under Library, click PowerPivot Gallery. On the SharePoint ribbon, in the Library Tools section, click Library. In the Settings area, click Library Settings. Under the General Settings area, if a Content Types section exists, review the content types enabled for this document library. If no Content Types section exists or the BI Semantic Model Connection is not listed, perform the following steps to enable management of content types and add it.. In General Settings, click Advanced settings. In Content Types, in the Allow management of content types? section, click Yes, and then click OK. On the Document Library Settings page, in the Content Types section, click Add from existing site content types. In the Select site content types from: list, click Business Intelligence. In the Available Site Content Types list, click BI Semantic Model Connection, click Add, and then click OK.

16 Module 12: Implementing an Analysis Services Tabular Data Model
Course 10778A Lab Scenario Module 12: Implementing an Analysis Services Tabular Data Model Some business analysts have been creating PowerPivot workbooks, and you have determined that one of these workbooks is being used extensively by multiple users. You have therefore decided to bring this workbook under centralized control and manage it as a SQL Server Analysis tabular database. Students will perform the lab in the role of a data analyst in the Adventure Works Cycles company, and: Create a an Analysis Services tabular data model from a PowerPivot workbook. Implement a perspective in the Analysis Services tabular data model. Implement partitions in the Analysis Services tabular data model. Deploy the Analysis Services tabular data model. Enable access to the Analysis Services database containing the tabular data model. Configure DirectQuery storage for the Analysis Services tabular data model. Implement security for the Analysis Services tabular data model Point out that the instructions in the lab are deliberately designed to be high-level so that students need to think carefully about what they are trying to accomplish and work out how best to proceed for themselves. Encourage students to read the scenario information carefully and collaborate with each other to meet the scenario requirements. Remind students that if they find a particular task or exercise too challenging, they can find step-by-step instructions in the lab answer key.

17 Lab 12: Working with an Analysis Services Tabular Data Model
Course 10778A Lab 12: Working with an Analysis Services Tabular Data Model Module 12: Implementing an Analysis Services Tabular Data Model Exercise 1: Creating an Analysis Services Tabular Data Model Project from a PowerPivot Workbook Exercise 2: Implementing a Perspective Exercise 3: Implementing Partitions Exercise 4: Deploying an Analysis Services Tabular Data Model Exercise 5: Enabling Access to a Tabular Data Model Exercise 6: Configuring DirectQuery Storage Mode Exercise 7: Implementing Security in a Tabular Data Model In this lab, students will create an Analysis Services Tabular Data Model from a PowerPivot for Excel workbook. They will implement a perspective and partitions before deploying the model to an instance of Analysis Services in Tabular mode. They will then create a BISM connection file to enable client access to the model, and test this by creating a basic Power View report. Students will enable and test DirectQuery storage mode, and finally they will create roles, apply permissions, and test the security configuration. Exercise 1 In this exercise, students create a tabular database project in SQL Server Data Tools by using the Import from PowerPivot template to import from a PowerPivot for Excel workbook. Exercise 2 In this exercise, students create a perspective that hides the Employee and Sales Quota tables. Exercise 3 In this exercise, students create partitions in the Reseller Sales table. Exercise 4 In this exercise, students deploy the tabular database project to an Analysis Services instance. Exercise 5 In this exercise, students create a BISM connection file on the SharePoint site that connects to the tabular database. Exercise 6 In this exercise, students configure and test DirectQuery mode. Exercise 7 In this exercise, students create roles and implement database permissions and row-level security. Logon information Virtual machine MIA-SQLBI User name ADVENTURWORKS\Student Password Pa$$w0rd Estimated time: 60 minutes

18 Module Review and Takeaways
Course 10778A Module Review and Takeaways Module 12: Implementing an Analysis Services Tabular Data Model Why might you choose to create an Analysis Services Tabular Data Model? Why might you choose to create an Analysis Services Multidimensional Model? How might you use partitions to manage the data that you have in your databases? What are the advantages of using DirectQuery mode? What features of Tabular Data Models are not supported in DirectQuery mode? Review Questions Point the students to the appropriate section in the course so that they are able to answer the questions presented in this section. Some guidance for discussing the answers to the questions is included below. Question? Why might you choose to create an Analysis Services Tabular Data Model? Why might you choose to create an Analysis Services multidimensional model? Answer. You might create an Analysis Services Tabular Data Model to scale up an existing PowerPivot for Excel workbook, enabling you to take advantage of the extra features such as row-level security and partitioning. You may also choose to create this type of model because it enables you to take advantage of in-house relational modelling skills to create a departmental or enterprise solution. You might create an Analysis Services Multidimensional Model for solutions that are more complex, or which require features, such as translations, that Tabular Data Models do not offer. How might you use partitions to manage the data that you have in your databases? Answer will vary depending on the personal experiences of the students. What are the advantages of using DirectQuery mode? What features of Tabular Data Models are not supported in DirectQuery mode? DirectQuery mode enables you to use a Tabular Data Model with very large data sets for which in- memory processing would be impractical. DirectQuery mode does not support row-level security, calculated columns, pasted or linked tables, or time intelligence functions.


Download ppt "Module 12: Implementing an Analysis Services Tabular Data Model"

Similar presentations


Ads by Google