Report Portal

Hi "Creative OLAP" In the script that

Hi "Creative OLAP" In the script that I am creating partitions I have following code (from the post above): oPartition.StorageMode = StorageMode.Molap oPartition.Source = New QueryBinding(oDB.DataSources(0).ID, oRow("SQL").ToString) If oMeasureGroup.AggregationDesigns.Count > 0 Then ' oPartition.AggregationDesignID = oMeasureGroup.AggregationDesigns(0).ID ' Taking first available aggregation design! End If This code sets storage mode to MOLAP and if this measure group has at least one Aggregation design, my script uses that Aggregation design for new created partition. This is probably code that you would want to adjust to match your requirements. And thank you very much for nice comments about this script! I always appreciate such comments as this is the best payback for my work!

 

2007-2015 VidasSoft Systems Inc.