[Mondrian]
Re:VirtualCubeTest.testCalculatedMemberAcrossCubesfailing on SMP
michael bienstein
mbienstein at yahoo.fr
Wed Jan 24 04:33:12 EST 2007
Put a CellFormatter on it and test it again:
public class TestCF implements mondrian.olap.CellFormatter {
public String formatCell(Object val) {
return val == null ? "null" : val.getClass().toString()+"@"+System.identityHashCode(val);
}
}
Then use it in the schema (I don't think it works on a per-query basis):
A cell formatter modifies the behavior of
Cell.getFormattedValue(). The class must implement the mondrian.olap.CellFormatter interface, and is specified like this:
<Measure name="name" formatter="com.acme.MyCellFormatter"/>
Michael
----- Message d'origine ----
De : John V. Sichi <jsichi at gmail.com>
À : Mondrian developer mailing list <mondrian at pentaho.org>
Envoyé le : Mercredi, 24 Janvier 2007, 10h21mn 26s
Objet : Re: Re : Re : [Mondrian] Re:VirtualCubeTest.testCalculatedMemberAcrossCubesfailing on SMP
michael bienstein wrote:
>
> John,
> Try "#.00;;Nil".
> Michael
Result is the same (completely blank):
[java] Row #1: 5,895
[java] Row #1: 4501.0
[java] Row #1: 76.35%
[java] Row #1:
[java] Row #2: 6,065
[java] Row #2: 6258.0
[java] Row #2: 103.18%
[java] Row #2:
...
JVS
_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org
http://lists.pentaho.org/mailman/listinfo/mondrian
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20070124/170a4d46/attachment.html
More information about the Mondrian
mailing list