I have created a set to filter out the entire date dimension to it's respective measure:
CREATE SET DatesAvailable AS NonEmpty ([Date].[Hierarchy].[Day].MEMBERS, Measures.CURRENTMEMBER);
I would like for the filter to be applied automatically when using the date dimension in the cube browser. I've tried this but it returns a error related to the LastNonEmpty aggregate.
SCOPE( UNION( MEASUREGROUPMEASURES('MeasurerpG1') , MEASUREGROUPMEASURES('MeasureGrp2') , MEASUREGROUPMEASURES('MeasureGrp3') ) );
[Date].[Hierarchy].[Day].MEMBERS = DatesAvailable ;
END SCOPE;
How can I apply my set to filter the date dimension?