August 21, 2013 at 3:48 pm
I've recently discovered MS Excel's CUBE Functions, which are really tremendous. The syntax on CUBEMEMBERPROPERTY isn't well documented, and always get a #N/A error, despite success with CUBEMEMBER, CUBEVALUE, and even a CUBESET and CUBERANKEDMEMBER combo (really cool).
I'm trying to retrieve an attribute for an account, the syntax I'm trying is:
=CUBEMEMBERPROPERTY("Cube_name","[Account].[Account ID].&[37206]","[Account].[Business Purpose]")
which returns "#N/A"
Where the result should be "Investment Management". I've converted a pivot table looking at the SSAS OLAP into formulas, and got the following result for the property:
=CUBEMEMBER("Cube_name",{"[Account].[Account ID].&[37206]","[Account].[Business Purpose].&[Investment Management]"})
The CUBEMEMBER function is unhelpful because I'm required to know the Business Purpose of "Investment Management" in order to get the value returned.
Does anyone have insight into the MDX syntax rules for this Excel function?
Viewing post 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy