[Mondrian] Bug in getNamedSet(List<Id.Segment> nameParts) ?

Julian Hyde jhyde at pentaho.com
Thu Feb 19 13:28:00 EST 2009

> Pedro wrote:
> I think #1 is the issue; Since my set is aggregated and used 
> in the where
> clause, there seems to be no slicer there. It's exactly the 
> same if I use
> [Products].CurrentMember.
> I "solved" my problem by using defaultMember when I have only the
> dimension. But still, it's a very tricky situation.

There seems to be a contradiction in my rules of evaluation: I stated that
when a set is evaluated, it is evaluated using the slicer as context, but
not context from the axes. But this particular set is used during the
evaluation of the slicer, so there's a cyclic dependency. Should this give
an error? Or should it use the default member of the dimension?

Pedro, So that the time we have spent on this issue does not go to waste,
can you do experiments on SSAS2005. Write some minimal queries to nail down
its exact behavior with regard to the context that sets are evaluated in.
Log a bug if mondrian is not consistent with SSAS2005.


More information about the Mondrian mailing list