[Mondrian] Dynamic default members

Julian Hyde julianhyde at speakeasy.net
Thu May 31 04:53:44 EDT 2007

Sorry, Mondrian doesn't support dynamic default members. Please log it
as an enhancement request at sf.net; I can't say when we'll get to
implement it.
Note that a while ago, we added a similar feature: which allowed the
default measure to be any measure, including a calculated measure
defined in the cube.


From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org]
On Behalf Of Franco Graziosi
Sent: Tuesday, May 29, 2007 3:00 PM
To: Mondrian developer mailing list
Subject: [Mondrian] Dynamic default members


Is it possible to define a "dynamic" default member for hierarchies, for
example, in a time hierarchy I would like the default member to be
last available month. I tried the following definition:

<Dimension name="Time" type="TimeDimension" foreignKey="time_id">
  <Hierarchy hasAll="false"

but seems that Mondrian expects as 'defaultMember' a constant value like

If not through configuration, is there any API call to perform this

Thank you very much!

Franco Graziosi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20070531/a5c2238f/attachment.html 

More information about the Mondrian mailing list