Wednesday, September 28, 2011

Create a SSAS BISM Tabular Model Project

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

image 

  • Select the Server Mode: Tabular Mode and add yourself as the administrator

image 

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.

image

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

image

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

image

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

image

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

image image

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

image

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.

image

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.

image

 image

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

6 comments:

  1. The demo of this model project has been given here.So people can find it more easy then before.As it was having some problems in the previous time so they have to be aware about this.





    Computer Motherboard

    ReplyDelete
  2. So beautiful article. I visit this site. It gives me lots of pleasure and interest. It’s a most important post. Please every one visit this site quickly. Thanks.
    Laptop Speakers

    ReplyDelete
  3. I think its a great topic. I like it very much. Its so interesting.So i want some information for sharing this side with some of my friend. Thanks.

    SEO Services

    ReplyDelete
  4. Great post, fixed my issue many thanks

    ReplyDelete