In SQL we write conditions Month(date)=09 to get the month field from date time. I want to know the equivalent function in MDX to get the month value as an integer. I need to create a calcuated member based on the above condition. Please let me know how to achieve this.
-- The First Calculated member is the value of NOW() WITH MEMBER [Measures].[Full Date] as 'NOW()' -- The Second Calculated Member is the Day part of the first calculated member. MEMBER [Measures].[What Day] as 'DAY([Full Date])' -- The Third Calculated Member is the Month part of the first calculated member. MEMBER [Measures].[What Month] as 'MONTH([Full Date])' -- The Fourth Calculated Member is the Year part of the first calculated member. Member [Measures].[What Year] as 'YEAR([Full Date])' SELECT {[Full Date],[What Day],[What Month],[What Year]} ON COLUMNS FROM SalesPraxy
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.