Microsoft SQL Server" Analysis Services 2008. ArtTennick



Similar documents
Data Mining Extensions (DMX) Reference

SQL SERVER TRAINING CURRICULUM

Delivering Business Intelligence With Microsoft SQL Server 2005 or 2008 HDT922 Five Days

SQL Server Administrator Introduction - 3 Days Objectives

The safer, easier way to help you pass any IT exams. Exam : TS:MS SQL Server 2008.Business Intelligence Dev and Maintenan.

This white paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE INFORMATION IN THIS DOCUMENT.

50439B: Basics of Transact SQL with SQL Server 2008 R2

SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days

SQL Server 2008 Administration

VISUALIZING DATA POWER VIEW. with MICROSOFT. Brian Larson. Mark Davis Dan English Paui Purington. Mc Grauu. Sydney Toronto

Microsoft SQL Database Administrator Certification

Outlines. Business Intelligence. What Is Business Intelligence? Data mining life cycle

SQL Server 2008 Core Skills. Gary Young 2011

Pro SQL Server Reporting Services. Third Edition. mm m. Brian McDonald. Shawn McGehee. Rodney Landrum. Apress*

Tutorials for Project on Building a Business Analytic Model Using Data Mining Tool and Data Warehouse and OLAP Cubes IST 734

Microsoft SQL Server 2008 Step by Step

Prerequisites. Course Outline

LearnFromGuru Polish your knowledge

W I S E. SQL Server 2008/2008 R2 Advanced DBA Performance & WISE LTD.

Working with Multidimensional Cubes in. SQL Server Data Mining

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

SQL Server for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

DBA xpress Product Overview

What is the BI DBA? Jorge Segarra Sr. DBA Consultant, SQL Server MVP

Retail POS Data Analytics Using MS Bi Tools. Business Intelligence White Paper

Implementing a Microsoft SQL Server 2005 Database

Microsoft' Excel & Access Integration

SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server Jump to the Lab Overview

Oracle Database 10g: Introduction to SQL

Contents RELATIONAL DATABASES

Securing SQL Server. Protecting Your Database from. Second Edition. Attackers. Denny Cherry. Michael Cross. Technical Editor ELSEVIER

IT462 Lab 5: Clustering with MS SQL Server

PRODUCT OVERVIEW SUITE DEALS. Combine our award-winning products for complete performance monitoring and optimization, and cost effective solutions.

SQL SERVER DEVELOPER Available Features and Tools New Capabilities SQL Services Product Licensing Product Editions Will teach in class room

ARIS Design Platform Getting Started with BPM

Introduction to Windchill PDMLink 10.0 for Heavy Users

The Complete Performance Solution for Microsoft SQL Server

MS 50511A The Microsoft Business Intelligence 2010 Stack

MOC 20461C: Querying Microsoft SQL Server. Course Overview

Windchill PDMLink Curriculum Guide

Creating BI solutions with BISM Tabular. Written By: Dan Clark

NEW FEATURES ORACLE ESSBASE STUDIO

Google AdWords, 248 Google Analytics tools, 248 GoogleAdsExtract.xlsx file, 161 GoogleAnalytics, 161

Data Mining: Concepts and Techniques. Jiawei Han. Micheline Kamber. Simon Fräser University К MORGAN KAUFMANN PUBLISHERS. AN IMPRINT OF Elsevier

SQL Server Analysis Services Complete Practical & Real-time Training

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD WEB: TEL:

Data Mining Algorithms Part 1. Dejan Sarka

Author: Ryan J Adams. Overview. Policy Based Management. Terminology

Microsoft SQL Server 2008 Bible

How To Write Powerpivot For Excel

FHE DEFINITIVE GUIDE. ^phihri^^lv JEFFREY GARBUS. Joe Celko. Alvin Chang. PLAMEN ratchev JONES & BARTLETT LEARN IN G. y ti rvrrtuttnrr i t i r

Avoiding Common Analysis Services Mistakes. Craig Utley

from Larson Text By Susan Miertschin

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition

BI xpress Product Overview

Reporting. Microsoft Dynamics GP enterpri se. Dynamics GP. Christopher Liley. Create and manage business reports with.

MODULE FRAMEWORK : Dip: Information Technology Network Integration Specialist (ITNIS) (Articulate to Edexcel: Adv. Dip Network Information Specialist)

Beginning SQL Server Administration. Apress. Rob Walters Grant Fritchey

Instant SQL Programming

MySQL for Beginners Ed 3

Administering Microsoft SQL Server 2012 Databases

Contents. iii. ix xi xi xi xiii xiii xiii xiv xv xvi xvii xix

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

2074 : Designing and Implementing OLAP Solutions Using Microsoft SQL Server 2000

IT-Pruefungen.de. Hochwertige Qualität, neueste Prüfungsunterlagen.

Course Syllabus. Maintaining a Microsoft SQL Server 2005 Database. At Course Completion

Implementing and Administering an Enterprise SharePoint Environment

SQL Server Developer Training Program. Topics Covered

Computer Visions Course Outline

SQL SERVER FREE TOOLS

GETTING AHEAD OF THE COMPETITION WITH DATA MINING

Contents. Chapter 1: Introduction to SharePoint Chapter 2: Installing Windows SharePoint Services 21. Acknowledgments Introduction

Learn AX: A Beginner s Guide to Microsoft Dynamics AX. Managing Users and Role Based Security in Microsoft Dynamics AX Dynamics101 ACADEMY

Business Intelligence Tutorial

Pro SQL Server 2008 Pol icy-based. Management. Ken Simmons. Colin Stasiuk. Jorge Segarra. Apress8

Using Microsoft Dynamics CRM for Analytical CRM: A Curriculum Package for Business Intelligence or Data Mining Courses

SQL 2016 and SQL Azure

Introducing Microsoft SQL Server 2012 Getting Started with SQL Server Management Studio

Building a Data Warehouse

Implementing Data Models and Reports with Microsoft SQL Server

Introduction to Windchill Projectlink 10.2

und ch/

>>Dream, Strive and Achieve Victory>> SQL Server 2005/2008 DBA SSIS and SSRS Training Contact

Microsoft. Microsoft SQL Server Integration Services. Wee-Hyong Tok. Rakesh Parida Matt Masson. Xiaoning Ding. Kaarthik Sivashanmugam

Implementing Data Models and Reports with Microsoft SQL Server 2012 MOC 10778

SQL Server 2016 New Features!

Querying Microsoft SQL Server

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

for Excel and SharePoint

Business Intelligence for Dynamics GP. Presented By: Rob Jackson, Business Intelligence Consultant Brent Keilin, GP Consultant

Connectivity Pack for Microsoft Guide

GP REPORTS VIEWER USER GUIDE

SQL Server Training Course Content

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

Sai Phanindra. Summary. Experience. SQL Server, SQL DBA and MSBI SQL School saiphanindrait@gmail.com

IT-Pruefungen.de. Hochwertige Qualität, neueste Prüfungsunterlagen.

SQL Server 2005 Features Comparison

DBMS / Business Intelligence, SQL Server

Transcription:

Microsoft SQL Server" Analysis Services 2008 ArtTennick

Contents Acknowledgments Introduction xvii x'x Chapter 1 Cases Queries 1 Examining Source Data 2 Flattened Nested Case Table 3 Specific Source Columns 4 Examining Training Data 5 Examining Specific Cases 6 Examining Test Cases ^ Examining Model Cases Only 8 Examining Another Model 9 Expanding the Nested Table 10 Sorting Cases 11 Model and Structure Columns 12 Specific Model Columns 13 Distinct Column Values 1/2 13 Distinct Column Values 2/2 14 Casesby Cluster 1/4 15 Cases by Cluster 2/4 16 Cases by Cluster 3/4 17 Cases by Cluster 4/4 18 Content Query 18 Decision Tree Cases 19 Decision Tree Content 20 Time Series Cases 21 Sequence Clustering Cases 1/2 Sequence Clustering Cases 2/2 Neural Network and Naive Bayes Cases 24 Order By with Top 25 Sequence Clustering Nodes 1/2 26 Sequence Clustering Nodes 2/2 27 ix

X Practical DMX Queries for Microsoft SQL Server Analysis Services 2008 Chapter 2 Content Queries 29 Content Query 30 Updating Cluster Captions 31 Contentwith New Caption 31 Changing Caption Back 32 Content Columns 33 Node Type 34 Flattened Content 34 flattened Contentwith Subquery 35 Subquery Columns 36 Subquery Column Aliases 37 Subquery Where Clause 38 Individual Cluster Analysis 39 Demographic Analysis 40 Renaming Clusters 41 Querying Renamed Clusters 42 Clusters with Predictable Columns 43 Narrowing Down Content 43 Flattening Content Again 44 Some Tidying Up 45 More Tidying Up 46 Looking at Bike Buyers 47 Who Arethe Best Customers? 48 How Did All Customers Do? 49 Decision Tree Content 49 Decision Tree NodeTypes 50 Decision Tree Content Columns 51 Flattened Column 52 Honing the Result 53 Just the Bike Buyers 54 Tidying Up 54 VBAinDMX 55 Association Content 56 Market Basket Analysis 57 Naive Bayes Content 58 Naive Bayes Node Type 59

Contents xi Flattening Naive Bayes Content 60 Naive Bayes Content Subquery 1/2 61 Naive Bayes Content Subquery 2/2 62 Chapter 3 Prediction Queries with Decision Trees 65 Select on Mining Model 1/6 66 Select on Mining Model 2/6 67 Select on Mining Model 3/6 67 Select on Mining Model 4/6 68 Select on Mining Model 5/6 68 Select on Mining Model 6/6 69 Prediction Query 70 Aliases and Formatting 72 Natural Prediction Join 73 More Demographics 74 Natural Prediction Join Broken 76 Natural Prediction Join Fixed 77 Nonmodel Columns 78 Ranking Probabilities 79 Predicted Versus Actual 80 Bike Buyers Only 81 More Demographics 82 Choosing Inputs 1/3 84 Choosing Inputs 2/3 84 Choosing Inputs 3/3 85 All Inputs and All Customers 86 Singletons 1/6 87 Singletons 2/6 88 Singletons 3/6 88 Singletons 4/6 89 Singletons 5/6 90 Singletons 6/6 91 New Customers 92 New Bike-Buying Customers 93 A Cosmetic Touch 94 PredictHistogram01/2 95 PredictHistogramO 2/2 96

xii Practical DMX Queries for Microsoft SQL Server Analysis Services 2008 Chapter 4 Prediction Queries with Time Series 99 Analyzing All Existing Sales 100 Analyzing Existing Sales by Category 1 1 Analyzing Existing Sales by Specific Periods Lag() 1/3 102 Analyzing Existing Sales by Specific Periods LagO 2/3 103 Analyzing Existing Sales byspecific Periods Lag()3/3 103 PredictTimeSeries01/11 104 PredictTimeSeriesO 2/11 105 PredictTimeSeriesO 3/11 1 6 PredictTimeSeriesO 4/11 106 PredictTimeSeriesO 5/11 1 7 PredictTimeSeriesO 6/11 108 PredictTimeSeriesO 7/11 108 PredictTimeSeriesO 8/11 109 PredictTimeSeriesO 9/11 110 PredictTimeSeries010/11 110 PredictTimeSeries011/11 111 PredictStDevf) 112 What-lf 1/3 113 What-lf2/3 114 What-lf3/3 115 Chapter 5 Prediction and Cluster Queries with Clustering 117 Cluster Membership 1/3 118 Cluster Membership 2/3 119 Cluster Membership 3/3 119 ClusterProbability01/2 120 ClusterProbabilityO 2/2 121 Clustering Parameters 121 Another ClusterProbability 122 Cluster Content 1/2 123 Cluster Content 2/2 123 PredictCaseLikelihoodO1/3 124 PredictCaseLikelihoodO 2/3 125 PredictCaseLikelihoodO 3/3 125 Anomaly Detection 126 Cluster with Predictable Column 1/3 127 Cluster with Predictable Column 2/3 127

Contents Xlii Cluster with Predictable Column 3/3 128 Clusters and Predictions 129 Chapter 6 Prediction Queries with Association and Sequence Clustering 131 Association Content Item Sets 132 Association Content Rul es 133 Important Rules 134 Twenty Most Important Rules 135 Particular Product Models 136 AnotherProduct Model 137 Nested Table 137 PredictAssociationO 138 Cross-Selling Prediction 1/7 139 Cross-Selling Prediction 2/7 140 Cross-Selling Prediction 3/7 140 Cross-Selling Prediction 4/7 141 Cross-Selling Prediction 5/7 142 Cross-Selling Prediction 6/7 143 Cross-Selling Prediction 7/7 143 Sequence Clustering Prediction 1/3 144 Sequence Clustering Prediction 2/3 145 Sequence Clustering Prediction 3/3 146 Chapter 7 Data Definition Language (DDL) Queries 149 Creating a Mining Structure 150 Creating a Mining Model 152 Training a Mining Model 153 Structure Cases 155 Model Cases 155 Model Content 156 Model Predict 157 Specifying Structure Holdout 159 Specifying Model Parameter 160 Specifying Model Filter 161 Specifying Model Drili-through 162 Training the New Models 163 Cases with No Drill-through 164 Cases with Drill-through 164 Structure with Holdout 165

xiv Practical DMX Queries for Microsoft SQL Server Analysis Services 2008 Specifying Model Parameter, Filter, and Drill-through 166 Training New Model 167 Unprocessing a Structure 1fi8 Model Cases with Filter and Drill-through 169 Clearing Out Cases 1fi9 Removing Models 170 Removing Structures 170 Renaming a Model 171 Renaming a Structure 172 Making Backups 172 Removing the Backed-up Structure 173 Restoring a Backup 173 Structure with Nested Case Table 174 Model Using Nested Case Table 175 Model Training with Nested Case Table 176 Prediction Queries with Nested Cases 1 /2 I77 Prediction Queries with Nested Cases 2/2 178 Cube Mining Structure 179 Cube Mining Model 180 Cube Model Training 181 Cube Structure Cases 182 Cube Model Content 183 Cube Model Prediction 184 Chapter 8 Schema and Column Queries 187 DMSCHEMA_MINING_SERVICES1/2 188 DM5CHEMA_MINING_SERVICES2/2 189 DMSCHEMA_MINING_SERVICE_PARAMETERS 1/2 189 DMSCHEMA_MINING_SERVICE_PARAMETERS 2/2 190 DMSCHEMA_MINING_MO0ELS 1/3 191 DMSCHEMA_MINING_MODELS 2/3 192 DMSCHEMA_MINING_MODELS 3/3 192 DMSCHEMA_MINING_COLUMNS 1/3 193 DMSCHEMA_MINING_C0LUMNS2/3 194 DMSCHEMA_MINING_COLUMNS 3/3 194 DMSCHEMA_MINING_M0DEL_C0NTENT1/5 195 DMSCHEMA_MINING_MODEL_CONTENT 2/5 196 DMSCHEMA_MINING_MODEL_CONTENT 3/5 197

Contents XV DMSCHEMA_MINING_M0DEL_C0NTENT4/5 197 DMSCHEMA_MINING_M0DEL_C0NTENT5/5 198 DMSCHEMA_MINING FUNCTIONS 1/3 199 DMSCHEMA_MINING_FUNCTI0NS2/3 200 DM5CHEMA_MINING_FUNCTIONS3/3 201 DMSCHEMA_MINING_STRUCTURES 112 201 DMSCHEMA_MINING_STRUCTURES 2/2 202 DMSCHEMA_MINING_STRUCTURE_COLUMNS 1/3 203 DMSCHEMA_MINING_STRUCTURE_C0LUMNS2/3 204 DMSCHEMA_MINING_STRUCTURE_C0LUMNS3/3 204 DMSCHEMA_MINING_MODEL_XML 1/2 205 DMSCHEMA_MINING_MODEL_CONTENT_PMML 206 DMSCHEMA_MINING_MODEL_XML 2/2 206 Discrete Model Columns 1/5 207 Discrete Model Columns 2/5 207 Discrete Model Columns 3/5 208 Discrete Model Columns 4/5 208 Discrete Model Columns 5/5 209 Discretized Model Column 209 Discretized Model Column Minimum 210 Discretized Model Column Maximum 210 Discretized Model Column Mid Value 211 Discretized Model Column Range Values 211 Discretized Model Column Spread 212 Continuous Model Column Spread 213 Chapter 9 After You Finish 215 Where to Use DMX 216 SSRS 216 SSIS 216 SQL 216 XMLA 217 WinformsandWebforms 217 Third-Party Software 218 Copy and Paste 218 Appendix A Graphical Content Queries 219 Content Queries 220 Graphical Content Queries in SSMS 221

XVI Practical DMX Queries for Microsoft SQL Server Analysis Services 2008 Clustering Model 222 Time Series Model 225 Association Rules Model 225 Decision Trees Model 228 Graphical Content Queries in Excel 2007 230 Data Mining Ribbon 232 Table Tools/Analyze Ribbon 234 Graphical Content Queries in BIDS 236 Opening the Adventure Works Solution 236 Reverse-Engineering the Adventure Works Database 238 Adventure Works Database in Connected Mode 241 Viewing Content 242 Tracing Generated DMX 243 Excel Data Mining Functions 246 Appendix B Graphical Prediction Queries 249 Prediction Queries 250 SSMS Prediction Queries 250 SSRS Prediction Queries 253 SSIS Prediction Queries 257 Control Flow 258 Data Flow 260 SSAS Prediction Queries 264 Building a Prediction Query 265 Clustering Prediction Queries 265 Time Series Prediction Queries 268 Association Prediction Queries 269 Decision Trees Prediction Queries 271 Excel Prediction Queries 274 Excel Data Mining Functions 277 Appendix C Graphical DDL Queries 279 DDL Queries 280 SSAS in BIDS 280 Excel 2007/2010 290 SSIS in BIDS 295 Index 299