MdmPrimaryDimension mdmTimeDim = getMdmPrimaryDimension("TIME_AW");
MdmLevelHierarchy mdmTimeHier = (MdmLevelHierarchy)
mdmTimeDim.getDefaultHierarchy();
StringSource timeHier = (StringSource) mdmTimeHier.getSource();
MdmLevel mdmQuarterLevel = getContext().getLevelByName(mdmTimeHier,
"QUARTER_AW");
Source quarterLevel = mdmQuarterLevel.getSource();
NumberSource unitPriceLag4 = unitPrice.lag(mdmTimeHier, 4);
Source measuresDim =
getExpressDataProvider().createListSource(new Source[] {unitPrice,
unitPriceLag4});