Hello
I am using CUBEMEMBER function to fetch some values in Excel from Analysis Services Cubes. I converted a Pivot table into functions. One of the function looks like this:
=CUBEMEMBER("CorrelationCube",{"[Curve].[Curve Name].[Brent]","[Terms].[Term Name].[M+1]"})
I want to introduce parameters so that I can supply Curve Name and Term Name from other cells, let's assume in cells A1 and A2 respectively.
A1 have text/value Brent
A2 have text/value M+1
How to append the above CUBEMEMBER function to get values from A1 and A2?
=CUBEMEMBER("CorrelationCube",{"[Curve].[Curve Name].[TEXT FROM A1]","[Terms].[Term Name].[TEXT FROM A2]"})
Just to mention, I could easily do that when I have just one parameter. Example - if I have to supply just Term and assuming term text is supplied in cell A1, I can easily write something like
=CUBEMEMBER("CorrelationCube","[Terms].[Term Name].[" & A1 &"]")
Thank You