I've been banging my head against this one for a while now.
In my mode 1 dev environment I have the following MDX statement.
Code: Select all
{StrToMember("[WARF ID].[Total " + [Front End Selection].([}Clients].["+USERNAME+"] ,[Selector].[WARF ID]) +"]").Children}
In the UAT environment which is set up under Mode 5 CAM the same MDX generates the error, STRTOMEMBER: Error in value expression: "" (There is a valid item selected in the front end cube)
If I substitute the value in the cube into the MDX just to check the general form of the MDX, then the MDX behaves as expected.
Code: Select all
{StrToMember("[WARF ID].[Total LB000001L]").Children}
The odd thing is that this works correctly in the mode 5 environment.
Code: Select all
{StrToMember("[}Clients].["+USERNAME+"]") }
Any ideas what's going on here?
It feels like a defect given that the simpler expression compiles but the more complex one does not.
Cheers,