To create a SSAS tabular model project, you will need to install the BIDS (now called Microsoft SQL Server Data Tools in SQL 2012) and have a SQL Server Analysis Services running in tabular mode (xVelocity in-memory analytics engine (VertiPaq)). It is recommended that the AS and the BIDS are installed on the same machine.
Install an Analysis Services instance running in tabular mode
- Add new feature to existed instance or add new instance
- Select the Server Mode: Tabular Mode and add yourself as the administrator
You could verify the AS Server mode using the SQL Server Management Studio and note the icon next to the server name in the Object Explore. You could also check the DeploymentMode property (0 =Traditional, 1 = PowerPivot for SharePoint, 2 = Tabular) in the msmdsrv.ini file.
Create New project
- Open Visual Studio 2010 and select New project
- There are three types of project template as shown below:
- Analysis Service Tabular Project: Use this template to create an Analysis Service project with tabular models
- Import from PowerPivot: Use this template to create a tabular project by extracting the metadata and data from an existing PowerPivot workbook
- Import from Server (Tabular): Use this template to create a tabular project by extracting the metadata from an existing tabular AS server
- Once you create a project, you could import your data source by clicking on the Model on the toolbar and select the Import From Data Source to start the Table Import Wizard.
- You could either create a connection or use an existing connection to import the tables or data you need. There are lots of choices such as Relational databases, Multidimensional Source, Data Feeds, or Text Files.
- You could change your model view from Data View to Diagram View by either clicking on the Model View on the Model or the icons on the right low corner.
- You could manage the relationships or create hierarchies using the Diagram View. You could create and manage measures in Data View.
- Once you finishing modeling your project, you may deploy it to your AS Tabular model server to be used.
Issue or Error
You may encounter the following error: Unable to connect to default workspace database server, which indicates that you have not yet set up a default workspace server.
To fix it, you could click on the Options from the Tools menu and then select the Analysis Services option to set the default workspace server and deployment server.
If you are interested about how to use the model once you created, you may want to check out my other post : Publish BISM Tabular Model Database Connection on SharePoint 2010.
Reference:
http://msdn.microsoft.com/en-us/library/hh231722(v=SQL.110).aspx
http://blogs.msdn.com/b/analysisservices/archive/2011/07/13/welcome-to-tabular-projects.aspx