December 13, 2023 at 1:46 pm
Please help me understand why I am getting the following error:
"A set has been detected that can't contain calculated members."
I have Attributes "Dates" and Hierarchies "Calendar" (YearID/QuarterId/MonthId/dtDate).
I've created Calculated Member a "Current Month" for the parent hierarchy «Dates.Calendar.[all]».
CREATE MEMBER CURRENTCUBE.[Dates].[Calendar].[All].[Current Month]
AS StrToMember("[Dates].[Calendar].[Month Id].&[" + Format(now(), "yyyyMM") + "]"),
VISIBLE = 1 ;
I'm getting an error message
at the same time I built a Named Set CurrentMonth and it works without any problems
CREATE SET CURRENTCUBE.[CurrentMonth]
AS StrToMember("[Dates].[Calendar].[Month Id].&[" + Format(now(), "yyyyMM") + "]");
December 13, 2023 at 1:53 pm
This is a predominately English speaking forum. Any chance of you posting the translation for all that instead of us having to run it through a translator?
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply