Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 13d210f

Browse files
authored
Merge pull request #4795 from Minewiskan/ssas0202
Ssas0202
2 parents c7daa88 + ae8052f commit 13d210f

3 files changed

Lines changed: 34 additions & 76 deletions
Lines changed: 29 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Install Sample Data and Projects | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/07/2017"
4+
ms.date: "02/02/2018"
55
ms.prod: analysis-services
66
ms.prod_service: "analysis-services, azure-analysis-services"
77
ms.service: ""
@@ -21,64 +21,52 @@ ms.author: "owend"
2121
manager: "kfile"
2222
ms.workload: "Active"
2323
---
24-
# Install Sample Data and Projects
25-
[!INCLUDE[ssas-appliesto-sqlas-aas](../includes/ssas-appliesto-sqlas-aas.md)]
24+
# Install sample data and multidimensional projects
25+
[!INCLUDE[ssas-appliesto-sqlas-all](../includes/ssas-appliesto-sqlas-all.md)]
2626

27-
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.
2828

2929
## 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.
3131

3232
- Database Engine
3333

3434
- Analysis Services
3535

3636
Analysis Services is available in these editions only: Evaluation, Enterprise, Business Intelligence, Standard.
3737

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.
3939

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)
4341

4442
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.
4543

4644
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.
4745

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.
5048

5149
- [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.
5250

53-
Reboot the computer to complete the installation.
54-
5551
## Step 3: Install Databases
5652
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.
5753

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.
5955

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.
6157

62-
To install this database, do the following:
58+
To install the database, do the following:
6359

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.
6561

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.
6963

7064
3. Start SQL Server Management Studio and connect to the Database Engine instance.
7165

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.
7967

8068
## 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.
8270

8371
> [!NOTE]
8472
> 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
9381

9482
5. Click **User Mapping**.
9583

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.
9785

9886
## 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.
10489

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.
10691

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.
10893

10994
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.
11095

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**.
12097

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.
136-
137-
5. Start [!INCLUDE[ssBIDevStudioFull](../includes/ssbidevstudiofull-md.md)].
138-
139-
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)].
140101

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.
142103

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.
144105

145106
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.
146107

147108
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.
148109

149110
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.
150111

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.
152113

153114
## Next Step
154115
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).
155116

156117
## 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)
158118
[Configure the Windows Firewall to Allow Analysis Services Access](../analysis-services/instances/configure-the-windows-firewall-to-allow-analysis-services-access.md)
159119
[Configure the Windows Firewall to Allow SQL Server Access](../sql-server/install/configure-the-windows-firewall-to-allow-sql-server-access.md)
160120

161-
162-
121+

docs/analysis-services/lesson-1-defining-a-data-source-view-within-an-analysis-services-project.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Lesson 1: Defining a Data Source View within an Analysis Services Project | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/14/2017"
4+
ms.date: "02/02/2018"
55
ms.prod: analysis-services
66
ms.prod_service: "analysis-services"
77
ms.service: ""
@@ -32,15 +32,14 @@ This lesson contains the following tasks:
3232
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.
3333

3434
[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.
3636

3737
[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.
3939

4040
[Modifying Default Table Names](../analysis-services/lesson-1-4-modifying-default-table-names.md)
4141
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.
4242

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.
4443

4544
## Next Lesson
4645
[Lesson 2: Defining and Deploying a Cube](../analysis-services/lesson-2-defining-and-deploying-a-cube.md)

docs/analysis-services/multidimensional-modeling-adventure-works-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Multidimensional Modeling (Adventure Works Tutorial) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/07/2017"
4+
ms.date: "02/02/2018"
55
ms.prod: analysis-services
66
ms.prod_service: "analysis-services"
77
ms.service: ""
@@ -49,7 +49,7 @@ Additionally, the following permissions must be in place to successfully complet
4949

5050
- 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)].
5151

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.
5353

5454
## Lessons
5555
This tutorial includes the following lessons.

0 commit comments

Comments
 (0)