In this example, we will deploy the existing predictive data mining model to Analysis Services. Then, we will use a DMX query in the .NET application to create a PREDICTION JOIN
between the mining model and the raw data in a database table. As a result, we will have a model applied to the dataset through C#, .NET, and DMX. Perform the following steps to run queries from an application:
Open the source code of Chapter 8, Identifying Data Patterns – Predictive Models in SSAS, which is
Chapter 08 Data Mining Predictive Models.sln
in SSDT.Right-click on the project (not the solution) and go to Properties in the pop-up menu.
In the Property Page menu, go to the Deployment tab, and change Database to Chapter 08 Data Mining Predictive Models. Then, click on OK and deploy the project, as shown in the following screenshot:
After successful deployment of the project, open SSMS and connect to your local SSAS Multidimensional engine. In that...