Lets we go to Sql Server Business Intelligence Development Studio. Then go to File -> New -> Project then select Analysis Service Project’ under ‘Business Intelligence Projects’. Then give a name, location and click ok.
Then we get ‘Data Source Wizard’, click next. Now we have to create a connection to the data source that we are going to retrieve data. Click ‘New’ button.
And Click Next. And then enter the username and password and click next.
It will finish the Data Source creation process. Then we want to create a ‘Data Source View’. Data Source Views let us define a subset of the data that came from the large data warehouse. Data Source View is an isolated schema. So we can add any required annotations without affecting the schemas of underline data source.
To create a Data Source View first right clicks the ‘Data Source Views’ in the Solution Explorer and select ‘New Data Source View’.
After that we get ‘Data Source View Wizard’, click next. Then we get a window to select the Data Source, select the Data Source that we create before and click next.
Then we can see another window. In here we want to select tables we are going to use. Select tables and click the ‘>’ button to move them to the right. We can move all the tables at ones by clicking ‘>>’ button.
After select the tables click next. From the next window give a name to the Data Source View and click finish. Then we can see the tables with their relationships.
Next we want to create a ‘Cube’. Cube is a set of related measures and dimensions that is used to analyze data.
To do so, right click the ‘Cubes’ in Solution Explorer and choose ‘New Cube’.
Then we get the ‘Cube Wizard’, click next. Then we forced to select the creation method. Cubes can be created by using existing tables, creating an empty cube, or generating tables in the data source. Here I use the method ‘Use Existing Tables’. Select the method and click next.
Now we can see another window and in there we can select the tables we want to create the Cube. Select the tables and click next.
Then the next two steps we want to select the Measures and Dimensions and finally give a suitable name and click finish.
Finally we can assign access roles to the project to access the project. To do so right click the ‘Roles’ in Solution Explorer and click the ‘New Role’.
Now we finished creating our SSAS project.