
This will then start the Import Analysis Services Database WizardĤ. As with our example we gave it the name of Adventure Works – Production Importģ. Within SSDT we are going to create a new Project with the following:Ī.

In the steps below we are going to create a new SSAS Project and then import our SSAS database into our Project.ġ. Once we ran this we then could see our Partition for the year 2009Ĭreating new SSAS Project and importing SSAS Database Below is a snippet of where we made the changesģ. What we did was to script out our current partition and then modify it to create one for the year 2009Ģ. NOTE : We are using SQL Server 2014, and SSDT for Visual Studio 2013ġ. I used the AdventureWorksDW2012 Data File and AdventureWorks Multidimensional Models SQL Server 2012.O So what when we are finished we will see our Internet_Sales_2009 Partition within our SSAS Project.
#SSAS TABULAR MODEL WITH ADVENTUREWORKS DATABASE MANUAL#
Then we are going to go through the manual steps to get this partition information into our existing SSAS Project.We are going to manually create a new Partition called:.Our current Internet Sales Partition has the following partitions created on our Production Server.You will still have to process them again, but it does save the hassle of having to re-create them all. So below are the steps that I do, before I make changes to my SSAS project, so that if I happen to deploy it by mistake I will not have to recreate the partitions. SO then you have to go about creating them again and processing them again.

Now your production SSAS cube has all the wrong partitions. Now by mistake or just not thinking you deploy your project, and when it prompts to overwrite your current database, you click YES. But on your production server you have programmatically added additional partitions. You are making a change to your SSAS cube, within your SSAS cube you have created your initial partitions. I am sure that this has happened to someone else before.
