Analysis Services enables you to analyze large quantities of data. With it, you can design, create, and manage multidimensional structures that contain detail and aggregated data from multiple data sources.
The Data Tools is the primary environment for data warehouse designer that will use to develop business solutions that include Analysis Services, Integration Services, and Reporting Services projects. Each project type supplies templates for creating the objects required for business intelligence solutions, and provides a variety of designers, tools, and wizards to work with the objects.
To create new OLAP cubes, designers use Business Intelligence Data Tools. The Data Tools are the environment that you use to develop OLAP cubes and data mining models. It is the Microsoft Visual Studio 2008 environment with enhancements that are specific to business intelligence solutions, such as dimensional modelling, adding currency conversions or handling time dependencies.
You create Analysis Services projects in Visual Studio by using the Analysis Services Projects template. The Analysis Services project helps you organize and manage the items that are required to build, debug and deploy an Analysis Services database.
A data source is an object that provides the information needed for Analysis Services to connect to a source of information for the business intelligence solution. Analysis Services can access data from one or more sources of data, provided that Analysis Services is able to construct the OLAP or data mining queries required by the business intelligence solution. The list of providers that you can utilize in an Analysis Services project is increasing over time as Microsoft and third-party vendors provide support for SQL Server Analysis Services.
At a minimum, a data source includes an identifier, a name, and a connection string.
In the Impersonation Information set the credentials to inherit. This tells Analysis Services to use the username and password you have just defined.
Click Next.
Rename the Data Source to DATAMART.ds
Click Finish.
Next, we have to identify the related tables, views, and relationships between the underlying database from one or more data sources.
For all dimensions, use the New Dimension wizard to create new dimensions.
Save the dimension and close the design window.
Repeat the steps for
Data Source | Dimension |
---|---|
D_Employee | Employee |
D_Campaign | Campaign |
D_Time | Time |
D_Store | Store |
Before you deploy our data cube on the Analysis Services Database, you have to add the server name to the project properties.
In the main menu → Project → … properties.
In the main menu → Build → Deploy the cube.
The password is required for the impersonation account of data source
After the deployment was successful, open the Browse… window in the Cube Designer and create a query to check, if everything is okay. Just drag-and-drop a keyfigure into the browser panel and click on execute query
Open the Data Cube structure and add a new measure group. The measure group F_Monthly_Costs should contain the cost measure.
Build and deploy your cube.
In the cube designer, great a new calculation. Open the formula editor with Menu → Cube → New calculated member.
Deploy your cube.
Now, use Excel to analyse your cube.
In Data → Get Data → From Analysis services.
Server: NO MDB Use windows authentication.
Select your cube NO SID SalesAnalysis.
Create a Pivottable and create query to find the top selling stores. Order it by StoreProfit.
In the data source view, add
Add the related tables.
In the cube designer, add new measure groups.
Rename
Build and deploy your cube.
A perspective is a definition that allows users to see a cube in a simpler way. A perspective is a subset of the features of a cube. A perspective enables administrators to create views of a cube, helping users to focus on the most relevant data for them. A perspective contains subsets of all objects from a cube. A perspective cannot include elements that are not defined in the parent cube.
Analyse Sales | Analyse Marketing | Analyse Stock | Analyse Profit and Loss |
---|---|---|---|
all Sales measures | all Sales measures | all Sales measures | all Sales measures |
- | all Marketing measures | all Stock measures | all Costs measures |
- | - | - | StoreProfit measure |
Store dimension | Store dimension | Store dimension | Store dimension |
Time dimension | Time dimension | Time dimension | Time dimension |
Product dimension | Campaign dimension | Product dimension | Cost Record dimension |
Campaign dimension | - | - | - |
Build and deploy your cube.