[Mondrian] How to get all the measures definition in a mondrian schema file

Wen xwcheng at gmail.com
Thu Apr 23 10:24:23 EDT 2009

Hi all,
        I can get all the schema by getSchemaReader(), and then use the cube
object to get all the Dimensions definition,
measure is a special dimension, so it should be got too. but how can i get a
special measure's name
for example, in foodmart there is a "Unit Sales" measure:

 <Measure name="Unit Sales" column="unit_sales" aggregator="sum"

 the dimension.getUniqueName() method just return "[Measures]"

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

More information about the Mondrian mailing list