Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Partioning cube Measures dynamically
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

13 Posts

Posted - 01/28/2014 :  12:12:22  Show Profile  Reply with Quote
Hi Team,

We need to partition our cube dynamically based on year and period(ex 201306). So when there is a data load/update is happening in the fact only the particular partition is processed and not all.

Dynamic partition I mean, when there is a load happening for a particular Year and Period, then a partition need to created in the cube.

Please suggest. Thanks.



Very Important crosS Applying yaK Herder

52326 Posts

Posted - 01/29/2014 :  04:29:42  Show Profile  Reply with Quote
you can do this by generating XMLA script for the create partition dynamically based on arrinving date values.
First you need to maintain a table with information of existing partitions for each measure group.
In your SSIS package you need to check incoming date values against the values in the table and see if there are any new year /period values coming. then you can generate XMLA script based on these new values and execute it using Analysis Services DDl task and use Analysis Services processing task for processing them.

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000