Book Image

Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide

By : Abolfazl Radgoudarzi, Reza Rad
Book Image

Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide

By: Abolfazl Radgoudarzi, Reza Rad

Overview of this book

Table of Contents (19 chapters)
Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – creating a model with the DirectQuery storage mode


In this example, you will see how to create a model with the DirectQuery mode. Note that in this example, a PowerView viewer is used to show the model, because PowerView is a DAX client that the DirectQuery-enabled tabular model can interact with. Perform the following steps to create the model:

  1. Create a new tabular model project and name it DirectQuery Tabular Project.

  2. In the Solution Explorer pane, choose model.bim, and in the Properties pane, change the DirectQuery Mode property to On. Then, right-click on the project in Solution Explorer and go to Properties. Change Query Mode to DirectQuery, as shown in the following diagram

  3. Save the changes. Under the Model menu, go to Import from Data Sources; you will only see SQL Server as the data source. Set AdventureWorksDW2012 as the source connection.

  4. Select DimDate and FactInternetSales in the list of tables and complete the wizard while loading records.

  5. Create a Sum of OrderQuantity...