Data Mining Model with Excel


In this chapter we briefly look at the Microsoft Office Add-In for Data Mining, which let's users work with the Data Mining Model and perform different data mining related tasks.


Download and install the Data Mining Add-In for Microsoft Excel from here. Once installed, open Excel and the add-in should look as shown below.

data mining execl add-in

This add-in provides most of the capabilities available in SSDT to work with Data Mining. In order to practice data mining from Excel, the add-in also ships with a sample Excel file that contains test data for use with data mining tasks. This sample file should be located in the following location for a default installation depending upon the version you have installed.

  • <drive>:\Program Files\Microsoft SQL Server 2014 DM add-ins\DMAddins_SampleData.xlsx
  • <drive>:\Program Files(x86)\Microsoft SQL Server 2014 DM add-ins\DMAddins_SampleData.xlsx

With this we have reached the end of this tutorial. Consider exploring the models we built in previous chapters using this add-in from Excel.


We started this tutorial with a basic understanding of the need for data mining and typical use-cases. We developed the fundamentals of data mining by understanding the data mining process, different categories of analysis as well as data mining algorithms available in SSAS. We started the implementation of data mining exercise with the development of a data mining structure from a relational source followed by the development of a data mining model. After creating our first data mining model targeted at predicting a probability, we learned about deploying a data mining model and querying from SSMS. As relational sources can pose performance challenges for data mining, we learned about using an OLAP source like a SSAS cube for building a data mining structure and models. We also touched upon the data mining relationship between a fact and a dimension to understand the internal functioning of a cube with a data mining relationship. In the last part of the tutorial we learned about the use of DMX queries for reporting and exploration purposes. We ended the tutorial with the introduction to a powerful data mining Excel add-in that let's data analysts work with data mining using Microsoft Excel.

I hope this tutorial provides a reasonable foundation for learning data mining, such that you can now start working on your area of interest in data mining and begin to practice data mining.

Last Update: 11/9/2016

Comments For This Article


get free sql tips
agree to terms