We have isolated a problem where
StrToMember will cause a server crash. This may be a well known problem, but a cursory Google search did not reveal anything on it.
The code is building a subset of accounts based on values in a cube:
Code: Select all
GENERATE( FILTER( TM1SUBSETALL( [Account] ),
LEN([mycube].([Version].[Active1], [Measure].[myMeasure])) > 0)
, {StrToMember("[Account].[" + [mycube].([Version].[Active1], [Measure].[RollupAccount]) + "]")})
when the conditional returns a blank to the
StrToMember function, the server crashes. Of course, we'll prevent that from happening henceforth, but if this has not been recognized, should it be considered a bug and reported? I think crashing the server is a bit of an extreme response to a bad argument to the MDX function.