You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the instructions and links provided in this topic to install all of the data and project files used in the Analysis Services Tutorials.
27
+
Use the instructions and links provided in this topic to install the data and project files used in the Analysis Services Tutorials. If you are completing the multidimensional tutorial, you only need to install the sample projects if you want compare a fully completed project with the one you create in the tutorial.
28
28
29
29
## Step 1: Install SQL Server Software
30
-
The lessons in this tutorial assume that you have the following software installed. All of the following software is installed using SQL Server installation media. For simplicity of deployment, you can install all of the features on a single computer. To install these features, run SQL Server Setup and select them from the Feature Selection page. For more information, see [Install SQL Server 2016 from the Installation Wizard (Setup)](../database-engine/install-windows/install-sql-server-from-the-installation-wizard-setup.md).
30
+
The lessons in this tutorial assume that you have the following software installed. You can install all of the features on a single computer. To install these features, run SQL Server Setup and select them from the Feature Selection page.
31
31
32
32
- Database Engine
33
33
34
34
- Analysis Services
35
35
36
36
Analysis Services is available in these editions only: Evaluation, Enterprise, Business Intelligence, Standard.
37
37
38
-
Note that SQL Server Express editions do not include Analysis Services. [Download the Evaluation edition](http://go.microsoft.com/fwlink/?LinkId=392824) if you want to try out the software free of charge.
38
+
By default, Analysis Services 2016 and later is installed as a tabular instance, which you can override by choosing Multidimensional Server Mode in the server configuration page of the Installation Wizard. If you want to run both server modes, rerun SQL Server Setup on the same computer to install a second instance of Analysis Services in the other mode.
39
39
40
-
By default, Analysis Services is installed as a multidimensional instance, which you can override by choosing Tabular Server Mode in the server configuration page of the Installation Wizard. If you want to run both server modes, rerun SQL Server Setup on the same computer to install a second instance of Analysis Services in the other mode.
41
-
42
-
- SQL Server Management Studio
40
+
-[SQL Server Management Studio](../ssms/download-sql-server-management-studio-ssms.md)
43
41
44
42
Optionally, consider installing Excel to browse your multidimensional data as you proceed through the tutorial. Installing Excel enables the **Analyze in Excel** feature that starts Excel using a PivotTable field list that is connected to the cube you are building. Using Excel to browse data is recommended because you can quickly build a pivot report that lets you interact with the data.
45
43
46
44
Alternatively, you can browse data using the built-in MDX query designer that is built into [!INCLUDE[ssBIDevStudioFull](../includes/ssbidevstudiofull-md.md)]. The query designer returns the same data, except the data is presented as a flat rowset.
47
45
48
-
## Step 2: Download SQL Server Data Tools for Visual Studio 2015
49
-
In this release, SQL Server Data Tools is downloaded and installed separately from other SQL Server features. The designers and project templates used to create BI models and reports are available as a free web download.
46
+
## Step 2: Download SQL Server Data Tools for Visual Studio
47
+
In this release, SQL Server Data Tools is downloaded and installed separately from other SQL Server features. The designers and project templates used to create BI models and reports are included in SSDT for Visual Studio 2015 or as [Nuget packages](https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects) for Visual Studio 2017.
50
48
51
49
-[Download SQL Server Data Tools](http://go.microsoft.com/fwlink/?LinkID=827542). The file is saved to the Downloads folder. Run setup to install the tool.
52
50
53
-
Reboot the computer to complete the installation.
54
-
55
51
## Step 3: Install Databases
56
52
An Analysis Services multidimensional model uses transactional data that you import from a relational database management system. For the purposes of this tutorial, you will use the following relational database as your data source.
57
53
58
-
-**AdventureWorksDW2012** – This is a relational data warehouse that runs on a Database Engine instance. It provides the original data that will be used by the Analysis Services databases and projects that you build and deploy throughout the tutorial.
54
+
-**AdventureWorksDW 2012 or later** – This is a relational data warehouse that runs on a Database Engine instance. It provides the original data that will be used by the Analysis Services databases and projects that you build and deploy throughout the tutorial.
59
55
60
-
You can use this sample database with [!INCLUDE[ssCurrent](../includes/sscurrent-md.md)]as well as [!INCLUDE[ssSQL11](../includes/sssql11-md.md)].
56
+
You can use this sample database with [!INCLUDE[ssSQL11](../includes/sssql11-md.md)]and later. In-general, you should use the sample database version matching your database engine version.
61
57
62
-
To install this database, do the following:
58
+
To install the database, do the following:
63
59
64
-
1. Download the [AdventureWorkDW2012](http://go.microsoft.com/fwlink/p/?LinkID=221770) database from the product samples page on codeplex.
60
+
1. Download an [AdventureWorkDW](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks) database backup from GitHub.
65
61
66
-
The database file name is AdvntureWorksDW2012_Data.mdf. The file should be in the Downloads folder on your computer.
67
-
68
-
2. Copy the AdventureWorksDW2012_Data.mdf file to the data directory of the local SQL Server Database Engine instance. By default, it is located at C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Data.
62
+
2. Copy the backup file to the data directory of the local SQL Server Database Engine instance.
69
63
70
64
3. Start SQL Server Management Studio and connect to the Database Engine instance.
71
65
72
-
4. Right-click Databases, click **Attach**.
73
-
74
-
5. Click **Add**.
75
-
76
-
6. Select the **AdventureWorksDW2012_Data.mdf** database file and click **OK**. If the file is not listed, check the C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Data folder to be sure the file is there.
77
-
78
-
7. In database details, remove the Log file entry. The setup program assumes you have a log file, but there is no log file in the sample. A new log file will be created automatically when you attach the database. Select the log file and click **Remove**, and then click **OK** to attach just the primary database file.
66
+
4. Restore the database.
79
67
80
68
## Step 4: Grant Database Permissions
81
-
The sample projects use data source impersonation settings that specify the security context under which data is imported or processed. By default, the impersonation settings specify the Analysis Services service account for accessing the data. To use this default setting, you must ensure that the service account under which Analysis Services runs has data reader permissions on the **AdventureWorksDW2012** database.
69
+
The sample projects use data source impersonation settings that specify the security context under which data is imported or processed. By default, the impersonation settings specify the Analysis Services service account for accessing the data. To use this default setting, you must ensure that the service account under which Analysis Services runs has data reader permissions on the **AdventureWorksDW2014** database.
82
70
83
71
> [!NOTE]
84
72
> For learning purposes, it is recommended that you use the default service account impersonation option and grant data reader permissions to the service account in SQL Server. Although other impersonation options are available, not all of them are suitable for processing operations. Specifically, the option for using the credentials of the current user is not supported for processing.
@@ -93,70 +81,41 @@ The sample projects use data source impersonation settings that specify the secu
93
81
94
82
5. Click **User Mapping**.
95
83
96
-
6. Select the checkbox next to the **AdventureWorksDW2012** database. Role membership should automatically include **db_datareader** and **public**. Click **OK** to accept the defaults.
84
+
6. Select the checkbox next to the **AdventureWorksDW2014** database. Role membership should automatically include **db_datareader** and **public**. Click **OK** to accept the defaults.
97
85
98
86
## Step 5: Install Projects
99
-
The tutorial includes sample projects so that you can compare your results against a finished project, or start a lesson that is further on in the sequence.
100
-
101
-
The project file for Lesson 4 is particularly important because it provides the basis for not only that lesson, but all the subsequent lessons that follow. In contrast with the previous project files, where the steps in the tutorial result in an exact copy of the completed project files, the Lesson 4 sample project includes new model information that is not found in the model you built in lessons 1 through 3. Lesson 4 assumes that you are starting with a sample project file that is available in the following download.
102
-
103
-
1. Download the [Analysis Services Tutorial SQL Server 2012](http://go.microsoft.com/fwlink/p/?LinkID=221866) on the product samples page on codeplex.
87
+
88
+
The sample projects are only necessary to compare with what you create in the multidimensional modeling tutorial. These are not necessary to complete the tutorial.
104
89
105
-
The 2012 tutorials are valid for the [!INCLUDE[ssCurrent](../includes/sscurrent-md.md)] release.
90
+
1. Download the [adventure-works-multidimensional-model-project.zip](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks-analysis-services) from the Adventure Works for Analysis Services samples page on GitHub.
106
91
107
-
The “Analysis Services Tutorial SQL Server 2012.zip” file will be saved to the Downloads folder on your computer.
92
+
This project works for SSAS 2014 and later.
108
93
109
94
2. Move the .zip file to a folder just below the root drive (for example, C:\Tutorial). This step mitigates the “Path too long” error that sometimes occurs if you attempt to unzip the files in the Downloads folder.
110
95
111
-
3. Unzip the sample projects: right-click on the file and select **Extract All**. After you extract the files, you should have the following projects installed on your computer:
112
-
113
-
- Lesson 1 Complete
114
-
115
-
- Lesson 2 Complete
116
-
117
-
- Lesson 3 Complete
118
-
119
-
- Lesson 4 Complete
96
+
3. Unzip the sample projects: right-click on the file and select **Extract All**.
120
97
121
-
- Lesson 4 Start
122
-
123
-
- Lesson 5 Complete
124
-
125
-
- Lesson 6 Complete
126
-
127
-
- Lesson 7 Complete
128
-
129
-
- Lesson 8 Complete
130
-
131
-
- Lesson 9 Complete
132
-
133
-
- Lesson 10 Complete
134
-
135
-
4. Remove the read-only permissions on these files. Right-click the parent folder, "Analysis Services Tutorial SQL Server 2012", select **Properties**, and clear the checkbox for **Read-only**. Click **OK**. Apply the changes to this folder, subfolders, and files.
6. Open the solution (.sln) file that corresponds to the lesson you are using. For example, in the folder named "Lesson 1 Complete", you would open the Analysis Services Tutorial.sln file.
98
+
4. Remove the read-only permissions on these files. Right-click the parent folder, select **Properties**, and clear the checkbox for **Read-only**. Click **OK**. Apply the changes to this folder, subfolders, and files.
99
+
100
+
5. Open the solution (.sln) file in [!INCLUDE[ssBIDevStudioFull](../includes/ssbidevstudiofull-md.md)].
140
101
141
-
7. Deploy the solution to verify that database permissions and server location information is set up correctly.
102
+
6. Deploy the solution to verify that database permissions and server location information is set up correctly.
142
103
143
-
If Analysis Services and the Database Engine are installed as the default instance (MSSQLServer) and all software is running on the same computer, you can click **Deploy Solution** on the Build menu to build and deploy the sample project to the local Analysis Services instance. During deployment, data will be processed (or imported) from the **AdventureWorksDW2012** database on the local Database Engine instance. A new Analysis Services database will be created on the Analysis Services instance that contains the data retrieved from the Database Engine.
104
+
If Analysis Services and the Database Engine are installed as the default instance (MSSQLServer) and all software is running on the same computer, you can click **Deploy Solution** on the Build menu to build and deploy the sample project to the local Analysis Services instance. During deployment, data will be processed (or imported) from the **AdventureWorksDW** database on the local Database Engine instance. A new Analysis Services database will be created on the Analysis Services instance that contains the data retrieved from the Database Engine.
144
105
145
106
If you encounter errors, review the previous steps on setting up database permissions. Additionally, you might also need to change server names. The default server name is localhost. If your servers are installed on remote computers or as named instances, you must override the default to use a server name that is valid for your installation. Furthermore, if the servers are on remote computers, you might need to configure Windows Firewall to allow access to the servers.
146
107
147
108
The server name for connecting to the database engine is specified in the Data Source object of the multidimensional solution (Adventure Works Tutorial), visible in Solution Explorer.
148
109
149
110
The server name for connecting to Analysis Services is specified in the Deployment tab of the Property Pages of the project, also visible in Solution Explorer.
150
111
151
-
8. In SQL Server Management Studio, connect to Analysis Services. Verify the database named **Analysis Services Tutorial** is running on the server.
112
+
7. In SQL Server Management Studio, connect to Analysis Services. Verify the database named **Analysis Services Tutorial** is running on the server.
152
113
153
114
## Next Step
154
115
You are now ready to use the tutorial. For more information about how to get started, see [Multidimensional Modeling (Adventure Works Tutorial)](../analysis-services/multidimensional-modeling-adventure-works-tutorial.md).
155
116
156
117
## See Also
157
-
[Install SQL Server 2016 from the Installation Wizard (Setup)](../database-engine/install-windows/install-sql-server-from-the-installation-wizard-setup.md)
158
118
[Configure the Windows Firewall to Allow Analysis Services Access](../analysis-services/instances/configure-the-windows-firewall-to-allow-analysis-services-access.md)
159
119
[Configure the Windows Firewall to Allow SQL Server Access](../sql-server/install/configure-the-windows-firewall-to-allow-sql-server-access.md)
Copy file name to clipboardExpand all lines: docs/analysis-services/lesson-1-defining-a-data-source-view-within-an-analysis-services-project.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Lesson 1: Defining a Data Source View within an Analysis Services Project | Microsoft Docs"
3
3
ms.custom: ""
4
-
ms.date: "03/14/2017"
4
+
ms.date: "02/02/2018"
5
5
ms.prod: analysis-services
6
6
ms.prod_service: "analysis-services"
7
7
ms.service: ""
@@ -32,15 +32,14 @@ This lesson contains the following tasks:
32
32
In this task, you create the [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] Tutorial project, based on an [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] multidimensional model template.
33
33
34
34
[Defining a Data Source](../analysis-services/lesson-1-2-defining-a-data-source.md)
35
-
In this task, you specify the **AdventureWorksDW2012** database as the data source for the [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] dimensions and cubes that you will define in subsequent lessons.
35
+
In this task, you specify the **AdventureWorksDW** database as the data source for the [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] dimensions and cubes that you will define in subsequent lessons.
36
36
37
37
[Defining a Data Source View](../analysis-services/lesson-1-3-defining-a-data-source-view.md)
38
-
In this task, you define a single unified view of the metadata from selected tables in the **AdventureWorksDW2012** database.
38
+
In this task, you define a single unified view of the metadata from selected tables in the **AdventureWorksDW** database.
In this task, you modify table names in the data source view, so that the names of subsequent [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] objects that you define will be more user-friendly.
42
42
43
-
Compare your results against a sample project file that was built for this lesson. For more information about downloading the sample projects that go with this tutorial, see [SSAS Multidimensional Model Projects for SQL Server 2012](http://go.microsoft.com/fwlink/p/?LinkID=221866) on the product samples page on codeplex.
44
43
45
44
## Next Lesson
46
45
[Lesson 2: Defining and Deploying a Cube](../analysis-services/lesson-2-defining-and-deploying-a-cube.md)
Copy file name to clipboardExpand all lines: docs/analysis-services/multidimensional-modeling-adventure-works-tutorial.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Multidimensional Modeling (Adventure Works Tutorial) | Microsoft Docs"
3
3
ms.custom: ""
4
-
ms.date: "03/07/2017"
4
+
ms.date: "02/02/2018"
5
5
ms.prod: analysis-services
6
6
ms.prod_service: "analysis-services"
7
7
ms.service: ""
@@ -49,7 +49,7 @@ Additionally, the following permissions must be in place to successfully complet
49
49
50
50
- You must be a member of the Administrators local group on the [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] computer or be a member of the server administration role in the instance of [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)].
51
51
52
-
- You must have Read permissions in the **AdventureWorksDW2012** sample database. This sample database is valid for the [!INCLUDE[ssCurrent](../includes/sscurrent-md.md)] release.
52
+
- You must have Read permissions in the **AdventureWorksDW** sample database. This sample database is valid for the [!INCLUDE[ssCurrent](../includes/sscurrent-md.md)] release.
0 commit comments