MDX query- How do I use a member property?

Posted by WaggingSiberian on Stack Overflow See other posts from Stack Overflow or by WaggingSiberian
Published on 2010-05-24T20:27:28Z Indexed on 2010/05/24 20:31 UTC
Read the original article Hit count: 271

Filed under:
|
|

I'm a complete newb to MDX / OLAP, "data warehousing" in general. I have the following MDX query and would like my results to display the month's number (1 = January, 12 = December). Luckily, the cube creator create a member property named "Month Number Of Year"

When I try to run the query, I get the following... "Query (4, 8) The function expects a tuple set expression for the 1 argument. A string or numeric expression was used."

Any suggestions for fixing this?

Thanks!

WITH
MEMBER [Measures].[Tmp] as '[Measures].[Budget] / [Measures].[Net Income]'

SELECT {[Date].[Month].Properties("Month Number Of Year")} ON COLUMNS,
{[Measures].[Budget],[Measures].[Net Income],[Measures].[Tmp]} ON ROWS

FROM [AnalyticsCube]

© Stack Overflow or respective owner

Related posts about ssas

Related posts about mdx