Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Need help on writing XMLA script to automate cube process

$
0
0

Hi

I have a requirement to process cube dynamically as like below:

We have data from 2005 onward and we need to process it.

So we have decided to go with partitions in such way

2005&06 as one partition, 2007&08 as one partition,2009&10 as one partition,2011 as one partition and 2012(i.e current year) should be created with monthly partitions. and then if we get year 2013 then it should delete 2012&2011 partitions and it have to create one partition for this 2 years. Again 2013 have to create with monthly partitions.

(or Previous years with yearly partitions and current year with monthly partitions is also fine)

Coming to Process it have to process last yearly or 2 years partition  and current year monthly partitions.

We are thinking to achieve this with xmla script.

Please help me to write xmla script.

Components we are using: SQL Analysis Server 2012(64-bit), Windows server 2008 R2(64-bit)

Thanks,

Dharani 


Viewing all articles
Browse latest Browse all 2472

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>