This is the SQL Services Analysis Services (SSASMD) project for the analytics database WideWorldImportersDW. It creates Analysis Services cubes based on the WideWorldImportersDW schema, and can be used to run MDX queries against the WideWorldImporters data.
About this sample
Before you begin
Running the sample
Sample details
Disclaimers
Related links
- Applies to: SQL Server 2016 (or higher)
- Key features: Analysis Services Multidimensional
- Workload: Analytics
- Programming Language:
- Authors: Robert Cain, Jos de Bruijn
- Update history: 21 June 2017 - initial revision
To run this sample, you need the following prerequisites.
Software prerequisites:
- SQL Server 2016 (or higher) with the database WideWorldImportersDW.
- Visual Studio 2015 Update 3 or higher. If you are using Visual Studio 2017, download and install the following: Analysis Services
- SQL Server 2016 (or higher) Analysis Services.
- This needs to be installed on the same machine as Visual Studio to be able to build the project.
-
Open the solution file wwi-ssasmd.sln in Visual Studio.
-
Build the solution.
-
Make sure you have permission on the SSAS server. From SQL Server Management Studio:
- Connect to the Analysis Services server.
- In Object Explorer, right-click on the server and select Properties to open the properties dialog.
- Click on Security to navigate to the security page.
- Verify that you are listed among server administrators. If not, click Add to add your account to the server administrators.
-
Publish the SSASMD database:
- In Solution Explorer, open the project WWI-SSASMD, and open the Data Source node.
- Double-click the data source WideWorldImportersDW.ds to open the Data Source Designer.
- Click Edit to update the connection string to point to the server that has the existing WideWorldImportersDW database, and verify that the database name is WideWorldImportersDW.
- Click Impersonation Information -> Use a specific Windows user name and password, and fill in you user name and password.
- Click Ok to close the dialog.
- Right-click the WWI-SSASMD project and select Properties to open the properties dialog.
- Click on Deployment to open the deployment properties.
- Update the target server to point to the Analysis Services server, and click Ok.
- Right-click the WWI-SSASMD project and select Deploy to deploy the Analysis Services database.
TBD
The code included in this sample is not intended to be used for production purposes.
For more information, see these articles: