Hi,I'm creating named sets in SSAS. I happen to be using 2012 but don't think that this has any effect on what i'm trying to achieve.Essentially i have a named set that does a YTD calculation. The expression for that is here:[code="sql"]StrToSet("YTD([Effective Date].[Dates].[Date].[" + CStr(DATEPART("YYYY",NOW())) + "-" + Right("0" + CStr(DATEPART("m",NOW())),2) + "-" + Right("0" + CStr(DATEPART("d",NOW())),2) + "])")[/code]This works great and show's me all the dates, 2013-01-01 to current day (2013-02-18). But this isn't what i really want (49 columns). What i want is a sum of the YTD. So instead of the attached (.png) I just want 1 column by 1 row sum total.Is this possible or am i missing something?Thanks,Simon
↧