

,'-PT1S' as "ProactiveCaching/SilenceInterval" , PartitionQuery as "Source/QueryDefinition" , PartitionSourceType as DataSourceID as "Source/DataSourceID" Select as DatabaseID, as CubeID, as MeasureGroupID Take note that SQL operators >,>=,Ĭreate procedure as as as as as varchar(max) output The nodes, elements and attributes of the create partition XMLA command will form the metadata of the data-driven model as shown below.


The XMLA will be similar to the one shown below This is done by scripting out the XMLA from an existing partition. Metadataįirst step is to identify the required data elements. The rest of this post explains the steps to create partitions using metadata and SSIS package. Partitions are created using XMLA commands. Usually cubes are developed with few basic partitions to begin with and new partitions are added over time. Partitions improve the query response of SSAS cube by narrowing the MDX query to a pre-defined subset of data.
