if (measure.isCalculated()) {
return tuplesForAggregation;
}
RolapCube virtualCube = (RolapCube) evaluator.getCube();
RolapCube baseCube = (RolapCube) evaluator.getMeasureCube();
if (virtualCube.isVirtual() && baseCube != null) {
if (virtualCube.shouldIgnoreUnrelatedDimensions(baseCube.getName()))
{
return ignoreUnrelatedDimensions(
tuplesForAggregation, baseCube);
} else if (MondrianProperties.instance()
.IgnoreMeasureForNonJoiningDimension.get())