Is there any way to get a list of partitions inside a MeasuresGroup ? And how can I process them with specific conditions on there name ?
Thanks for your help.
Is there any way to get a list of partitions inside a MeasuresGroup ? And how can I process them with specific conditions on there name ?
Thanks for your help.
XMLA-File will look something like this and you can browse into the Partitions manually and search for your information:
As you were asking to something more flexible, what I can reccomend you is to use the AMO-library, which allows you to browse the exact XMLA-File directly on the server. Either via PowerShell or via C#. How? DatabaseJournal.com has a very straight forward guideline on how to script dimensions with AMO. In the same fashion information about Measure Groups can be accessed. If you are interested on how to use Powershell with AMO to get a list of all the Partitions inside a Measure Group, give me a thumbs up - I can guide you a bit, but I'll leave it for now as I already spent half an hour writing this answer :-).