How should I write an MDX Filter statement with multiple OR conditions efficiently? -
In SQL, you can compare a field with a form against a
[Foo] {How to take a filter expression in something like this in {"bar 1", "bar 2", ..., "barran"} There is a problem in knowing that, with now, I end up in the end:
Filters ([MyHierarchy]. [Foo]. Member, [MyHerkarki] .Kurmantmann. Name = "1" or [MyHerkarki] .name = "2" ... or [MyHierarchy] .CurentMember.Name = "N") Since I have 20-30 comparisons, and a normal chance to rename the hierarchy, I have long been Want to maintain a set and a hierarchy name compared to a long expression. Is there any way to accomplish this?
Keeping in mind that the context is an Excel Cubeet function, so I am limited in defining my members in these sections.
Assume that you have set the selected member name Hide ([MyHericarki]]. [Foo]. Member, [Selected Members]) You can of course also code directly Can I [Foo]. [1], [Myharkaani]. [Foo]. [2],. [MyHerichiki]. [Foo]. [N]}) But setting the already defined set in the cube calculation script can be more convenient - if it is possible. / P>
Comments
Post a Comment