Configure In-Memory or DirectQuery Access for a Tabular Model Database
This topic describes how to change the connection properties of a tabular model that has already been deployed, to enable use of the model in Direct Query mode.
For more information about these properties, and configuration for the most common scenarios, see DirectQuery Deployment Scenarios (SSAS Tabular).
Requirements
Enabling the use of Direct Query mode on a tabular model is a multistep process. You must:
Ensure that the model does not have features which might cause validation errors in Direct Query mode.
Change the storage mode on the model to support Direct Query.
Deploy the model in a mode that supports queries in either a hybrid or pure Direct Query mode.
Edit the connection string on the deployed database to support Direct Query mode.
This topic assumes that you have created and validated your model, and only need to enable Direct Query access from a client such as Power View.
Procedure
Change the Connection String Properties of the Model
In SQL Server Management Studio, open the instance to which you deployed the model.
In Object Explorer, right-click the name of the model database, and select Properties.
Locate the property, DirectQueryMode. To enable use of the relational data source, this property must be set to one of these values:
DirectQuery
InMemoryWithDirectQuery
DirectQueryWithInMemory