I'm working on a CUBEMEMBER string and it always returns me the last value regardless of whether that value is in the table or not. here's the actual text.
=CUBEMEMBER("ThisWorkbookDataModel",{"[Program Entry].[PROGRAM KEY].&[PROGRAM KEY DESCRIPTION]","[Program Entry].[PLANNER TYPE].&[PLANNER]"})
I'm trying to use the formula to return if the CUBEMEMBER says "PLANNER", "OPTIONAL" or blank (which would be an error message) if it doesn't find the string array shown here. When I change the final &[PLANNER] to [OPTIONAL], the formula result is OPTIONAL even though that result isn't in the data itself.
thoughts on how to solve?
=CUBEMEMBER("ThisWorkbookDataModel",{"[Program Entry].[PROGRAM KEY].&[PROGRAM KEY DESCRIPTION]","[Program Entry].[PLANNER TYPE].&[PLANNER]"})
I'm trying to use the formula to return if the CUBEMEMBER says "PLANNER", "OPTIONAL" or blank (which would be an error message) if it doesn't find the string array shown here. When I change the final &[PLANNER] to [OPTIONAL], the formula result is OPTIONAL even though that result isn't in the data itself.
thoughts on how to solve?